diff --git a/DatabaseScripts/MySQL/install.sql b/DatabaseScripts/MySQL/install.sql index 47c5f1f3..c137175c 100644 --- a/DatabaseScripts/MySQL/install.sql +++ b/DatabaseScripts/MySQL/install.sql @@ -144,4 +144,15 @@ CREATE TABLE RejectUsers( RejectedBy VARCHAR (50) NOT NULL, 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 ); \ No newline at end of file diff --git a/DatabaseScripts/Postgresql/install.sql b/DatabaseScripts/Postgresql/install.sql index b7c7a485..9ee63029 100644 --- a/DatabaseScripts/Postgresql/install.sql +++ b/DatabaseScripts/Postgresql/install.sql @@ -144,4 +144,15 @@ CREATE TABLE RejectUsers( RejectedBy VARCHAR (50) NOT NULL, 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 ); \ No newline at end of file diff --git a/DatabaseScripts/SQLite/Install.sql b/DatabaseScripts/SQLite/Install.sql index e99bb794..d284c8f4 100644 --- a/DatabaseScripts/SQLite/Install.sql +++ b/DatabaseScripts/SQLite/Install.sql @@ -144,4 +144,15 @@ CREATE TABLE RejectUsers( [RejectedBy] VARCHAR (50) NOT NULL COLLATE NOCASE, [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 ); \ No newline at end of file