更新脚本:SQLite等数据库更新脚本,增加ResetUsers表 #IS7V2

This commit is contained in:
Argo Zhang 2019-03-05 13:14:58 +08:00
parent 2050c54eca
commit 1e8bf01b28
3 changed files with 25 additions and 1 deletions

View File

@ -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
);

View File

@ -157,4 +157,12 @@ CREATE TABLE RejectUsers(
Browser VARCHAR (50) NULL,
City VARCHAR (50) NULL,
Result VARCHAR (50) NOT NULL
);
);
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
);

View File

@ -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
);