TT#76109 - Introduce email column from admins

* Store 'email' for administrators to use
           for password reset
         * Add additional 'can_reset_passsword' column
           to indicate wether an admin can request
           password reset

Change-Id: If383e1328eb091c68b8419c574dfae307e1b7920
changes/93/39793/3
Flaviu Mates 5 years ago
parent 7cb5c880cf
commit 1a87dc9fe9

@ -0,0 +1,3 @@
ALTER TABLE `billing`.`admins`
DROP COLUMN `email`,
DROP COLUMN `can_reset_password`;

@ -0,0 +1,3 @@
ALTER TABLE `billing`.`admins`
ADD COLUMN `email` VARCHAR(255) UNIQUE DEFAULT NULL,
ADD COLUMN `can_reset_password` TINYINT(1) NOT NULL DEFAULT 1;
Loading…
Cancel
Save