mirror of https://github.com/sipwise/db-schema.git
* 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
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…
Reference in new issue