From eff3edd1f4e4a6bbea9ac2a6512ba69105c4bd7b Mon Sep 17 00:00:00 2001 From: Thies Mueller Date: Sat, 9 Jan 2021 20:35:36 +0100 Subject: [PATCH] introducing activation to the database --- fullinstalldocker.sql | 2 ++ usertable.sql | 2 ++ 2 files changed, 4 insertions(+) diff --git a/fullinstalldocker.sql b/fullinstalldocker.sql index 082892b..2c1a770 100644 --- a/fullinstalldocker.sql +++ b/fullinstalldocker.sql @@ -11,6 +11,8 @@ CREATE TABLE `users` ( `lastName` VARCHAR(255) NOT NULL DEFAULT '' , `created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , `updated_at` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , + `activationcode` VARCHAR(255) NULL , + `activationcode_time` TIMESTAMP NULL , `passwordcode` VARCHAR(255) NULL , `passwordcode_time` TIMESTAMP NULL , PRIMARY KEY (`id`), UNIQUE (`email`), UNIQUE (`username`) diff --git a/usertable.sql b/usertable.sql index 99e52e5..3a2cb45 100644 --- a/usertable.sql +++ b/usertable.sql @@ -7,6 +7,8 @@ CREATE TABLE `users` ( `lastName` VARCHAR(255) NOT NULL DEFAULT '' , `created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , `updated_at` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , + `activationcode` VARCHAR(255) NULL , + `activationcode_time` TIMESTAMP NULL , `passwordcode` VARCHAR(255) NULL , `passwordcode_time` TIMESTAMP NULL , PRIMARY KEY (`id`), UNIQUE (`email`), UNIQUE (`username`)