更新脚本:完善SQLite等数据库脚本 link #IS7RM

This commit is contained in:
Argo Zhang 2019-03-04 01:34:43 +08:00
parent a912362488
commit 9924d8c3c4
3 changed files with 33 additions and 0 deletions

View File

@ -145,3 +145,14 @@ CREATE TABLE RejectUsers(
RejectedTime DATETIME NOT NULL, RejectedTime DATETIME NOT NULL,
RejectedReason VARCHAR (50) NULL RejectedReason VARCHAR (50) NULL
); );
CREATE TABLE LoginLogs(
ID INTEGER PRIMARY KEY Auto_increment,
UserName VARCHAR (50) NOT NULL,
LoginTime DATETIME NOT NULL,
Ip VARCHAR NOT NULL,
OS VARCHAR (50) NULL,
Browser VARCHAR (50) NULL,
City VARCHAR (50) NULL,
Result VARCHAR (50) NOT NULL
);

View File

@ -145,3 +145,14 @@ CREATE TABLE RejectUsers(
RejectedTime DATE NOT NULL, RejectedTime DATE NOT NULL,
RejectedReason VARCHAR (50) NULL RejectedReason VARCHAR (50) NULL
); );
CREATE TABLE RejectUsers(
ID SERIAL PRIMARY KEY,
UserName VARCHAR (50) NOT NULL,
LoginTime DATE NOT NULL,
Ip VARCHAR NOT NULL,
OS VARCHAR (50) NULL,
Browser VARCHAR (50) NULL,
City VARCHAR (50) NULL,
Result VARCHAR (50) NOT NULL
);

View File

@ -145,3 +145,14 @@ CREATE TABLE RejectUsers(
[RejectedTime] DATETIME NOT NULL, [RejectedTime] DATETIME NOT NULL,
[RejectedReason] VARCHAR (50) NULL [RejectedReason] VARCHAR (50) NULL
); );
CREATE TABLE LoginLogs(
[ID] INTEGER PRIMARY KEY,
[UserName] VARCHAR (50) NOT NULL COLLATE NOCASE,
[LoginTime] DATETIME NOT NULL,
[Ip] VARCHAR (15) NOT NULL,
[OS] VARCHAR (50) NULL,
[Browser] VARCHAR (50) NULL,
[City] VARCHAR (50) NULL,
[Result] VARCHAR (50) NOT NULL
);