From 068be133eda14c89c4bc79dbe0b4e7245120d26d Mon Sep 17 00:00:00 2001 From: enriquecd Date: Mon, 28 Aug 2017 12:22:59 +0200 Subject: [PATCH] Add password reset table in MR - #1211 --- pandora_console/extras/mr/6.sql | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pandora_console/extras/mr/6.sql b/pandora_console/extras/mr/6.sql index aeb94260bf..57b6be6d89 100644 --- a/pandora_console/extras/mr/6.sql +++ b/pandora_console/extras/mr/6.sql @@ -2,4 +2,12 @@ START TRANSACTION; ALTER TABLE tagente MODIFY COLUMN `cascade_protection_module` int(10) unsigned NOT NULL default '0'; -COMMIT; \ No newline at end of file +COMMIT; + +CREATE TABLE IF NOT EXISTS treset_pass_history ( + id int(10) unsigned NOT NULL auto_increment, + id_user varchar(60) NOT NULL, + reset_moment datetime NOT NULL, + success tinyint(1) NOT NULL, + PRIMARY KEY (id) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file