From 1e8bf01b288c3d45f39f41a5bed4bcd5b31f0e71 Mon Sep 17 00:00:00 2001 From: Argo Zhang <5196060@qq.com> Date: Tue, 5 Mar 2019 13:14:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC=EF=BC=9ASQ?= =?UTF-8?q?Lite=E7=AD=89=E6=95=B0=E6=8D=AE=E5=BA=93=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=EF=BC=8C=E5=A2=9E=E5=8A=A0ResetUsers?= =?UTF-8?q?=E8=A1=A8=20#IS7V2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DatabaseScripts/MySQL/install.sql | 8 ++++++++ DatabaseScripts/Postgresql/install.sql | 10 +++++++++- DatabaseScripts/SQLite/Install.sql | 8 ++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/DatabaseScripts/MySQL/install.sql b/DatabaseScripts/MySQL/install.sql index 62b1f67e..6559aa3b 100644 --- a/DatabaseScripts/MySQL/install.sql +++ b/DatabaseScripts/MySQL/install.sql @@ -157,4 +157,12 @@ CREATE TABLE LoginLogs( Browser VARCHAR (50) NULL, City VARCHAR (50) NULL, Result VARCHAR (50) NOT NULL +); + +CREATE TABLE ResetUsers( + ID INTEGER PRIMARY KEY Auto_increment, + UserName VARCHAR (50) NOT NULL, + DisplayName VARCHAR (50) NOT NULL, + Reason VARCHAR (500) NOT NULL, + ResetTime DATETIME NOT NULL ); \ No newline at end of file diff --git a/DatabaseScripts/Postgresql/install.sql b/DatabaseScripts/Postgresql/install.sql index def463e3..36bc13ae 100644 --- a/DatabaseScripts/Postgresql/install.sql +++ b/DatabaseScripts/Postgresql/install.sql @@ -157,4 +157,12 @@ CREATE TABLE RejectUsers( Browser VARCHAR (50) NULL, City VARCHAR (50) NULL, Result VARCHAR (50) NOT NULL -); \ No newline at end of file +); + +CREATE TABLE ResetUsers( + ID SERIAL PRIMARY KEY, + UserName VARCHAR (50) NOT NULL, + DisplayName VARCHAR (50) NOT NULL, + Reason VARCHAR (500) NOT NULL, + ResetTime DATE NOT NULL +); diff --git a/DatabaseScripts/SQLite/Install.sql b/DatabaseScripts/SQLite/Install.sql index 13334d96..2f684acd 100644 --- a/DatabaseScripts/SQLite/Install.sql +++ b/DatabaseScripts/SQLite/Install.sql @@ -157,4 +157,12 @@ CREATE TABLE LoginLogs( [Browser] VARCHAR (50) NULL, [City] VARCHAR (50) NULL, [Result] VARCHAR (50) NOT NULL +); + +CREATE TABLE ResetUsers( + [ID] INTEGER PRIMARY KEY, + [UserName] VARCHAR (50) NOT NULL COLLATE NOCASE, + [DisplayName] VARCHAR (50) NOT NULL, + [Reason] VARCHAR (500) NOT NULL, + [ResetTime] DATETIME NOT NULL ); \ No newline at end of file