更新脚本:完善SQLite等数据库脚本 link #IS7RM
This commit is contained in:
parent
a912362488
commit
9924d8c3c4
|
@ -145,3 +145,14 @@ CREATE TABLE RejectUsers(
|
|||
RejectedTime DATETIME NOT 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
|
||||
);
|
|
@ -145,3 +145,14 @@ CREATE TABLE RejectUsers(
|
|||
RejectedTime DATE NOT 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
|
||||
);
|
|
@ -145,3 +145,14 @@ CREATE TABLE RejectUsers(
|
|||
[RejectedTime] DATETIME NOT 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
|
||||
);
|
Loading…
Reference in New Issue