From 1a87dc9fe91c1718b26f7ec90b30cb4ec564830a Mon Sep 17 00:00:00 2001 From: Flaviu Mates Date: Thu, 30 Apr 2020 12:57:06 +0300 Subject: [PATCH] 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 --- db_scripts/diff/15601.down | 3 +++ db_scripts/diff/15601.up | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 db_scripts/diff/15601.down create mode 100644 db_scripts/diff/15601.up diff --git a/db_scripts/diff/15601.down b/db_scripts/diff/15601.down new file mode 100644 index 00000000..8903045f --- /dev/null +++ b/db_scripts/diff/15601.down @@ -0,0 +1,3 @@ +ALTER TABLE `billing`.`admins` +DROP COLUMN `email`, +DROP COLUMN `can_reset_password`; \ No newline at end of file diff --git a/db_scripts/diff/15601.up b/db_scripts/diff/15601.up new file mode 100644 index 00000000..af86293a --- /dev/null +++ b/db_scripts/diff/15601.up @@ -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; \ No newline at end of file