From 0bacff3994f333084fab71e9ccc04a63b12d5a96 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 20 Jan 2018 19:09:40 -0500 Subject: [PATCH] Update database.sql with user.pwdreset_time field --- database.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/database.sql b/database.sql index b55353994a..054bcd9a17 100644 --- a/database.sql +++ b/database.sql @@ -1,6 +1,6 @@ -- ------------------------------------------ -- Friendica 3.6-dev (Asparagus) --- DB_UPDATE_VERSION 1242 +-- DB_UPDATE_VERSION 1243 -- ------------------------------------------ @@ -1031,7 +1031,8 @@ CREATE TABLE IF NOT EXISTS `user` ( `page-flags` tinyint NOT NULL DEFAULT 0 COMMENT '', `account-type` tinyint NOT NULL DEFAULT 0 COMMENT '', `prvnets` boolean NOT NULL DEFAULT '0' COMMENT '', - `pwdreset` varchar(255) NOT NULL DEFAULT '' COMMENT '', + `pwdreset` varchar(255) COMMENT 'Password reset request token', + `pwdreset_time` datetime COMMENT 'Timestamp of the last password reset request', `maxreq` int NOT NULL DEFAULT 10 COMMENT '', `expire` int NOT NULL DEFAULT 0 COMMENT '', `account_removed` boolean NOT NULL DEFAULT '0' COMMENT '',