diff --git a/db/MySQL/install.sql b/db/MySQL/install.sql index 750a711d..119d7143 100644 --- a/db/MySQL/install.sql +++ b/db/MySQL/install.sql @@ -88,7 +88,8 @@ CREATE TABLE Logs( City VARCHAR (50) NULL, RequestUrl VARCHAR (500) NOT NULL, RequestData MEDIUMTEXT NULL, - UserAgent VARCHAR (2000) NULL + UserAgent VARCHAR (2000) NULL, + Referer VARCHAR (2000) ); CREATE TABLE `Groups`( @@ -181,7 +182,8 @@ CREATE TABLE Traces( OS VARCHAR (50), City VARCHAR (50), RequestUrl VARCHAR (500) NOT NULL, - UserAgent VARCHAR (2000) NULL + UserAgent VARCHAR (2000) NULL, + Referer VARCHAR (2000) ); CREATE TABLE DBLogs ( diff --git a/db/Postgresql/install.sql b/db/Postgresql/install.sql index 981c0b3b..6a5fca70 100644 --- a/db/Postgresql/install.sql +++ b/db/Postgresql/install.sql @@ -88,7 +88,8 @@ CREATE TABLE Logs( City VARCHAR (50) NULL, RequestUrl VARCHAR (500) NOT NULL, RequestData TEXT NULL, - UserAgent VARCHAR (2000) NULL + UserAgent VARCHAR (2000) NULL, + Referer VARCHAR (2000) ); CREATE TABLE Groups( @@ -181,7 +182,8 @@ CREATE TABLE Traces( OS VARCHAR (50), City VARCHAR (50), RequestUrl VARCHAR (500) NOT NULL, - UserAgent VARCHAR (2000) NULL + UserAgent VARCHAR (2000) NULL, + Referer VARCHAR (2000) ); CREATE TABLE DBLogs ( diff --git a/db/SQLite/Install.sql b/db/SQLite/Install.sql index cae22b42..71543070 100644 --- a/db/SQLite/Install.sql +++ b/db/SQLite/Install.sql @@ -88,7 +88,8 @@ CREATE TABLE Logs( City VARCHAR (50) NULL, RequestUrl VARCHAR (500) NOT NULL, RequestData TEXT NULL, - UserAgent VARCHAR (2000) NULL + UserAgent VARCHAR (2000) NULL, + Referer VARCHAR (2000) ); CREATE TABLE Groups( diff --git a/db/SqlServer/Install.sql b/db/SqlServer/Install.sql index 981a3d90..64d0c34f 100644 --- a/db/SqlServer/Install.sql +++ b/db/SqlServer/Install.sql @@ -282,6 +282,7 @@ CREATE TABLE [dbo].[Logs]( [RequestUrl] [nvarchar](500) NOT NULL, [RequestData] [nvarchar](max) NULL, [UserAgent] [varchar](2000) NULL, + [Referer] [varchar](2000) NULL, CONSTRAINT [PK_Logs] PRIMARY KEY CLUSTERED ( [ID] ASC @@ -568,6 +569,7 @@ CREATE TABLE [dbo].[Traces]( [City] [nvarchar](50) NULL, [RequestUrl] [nvarchar](500) NOT NULL, [UserAgent] [varchar](2000) NULL, + [Referer] [nvarchar](2000) NULL, CONSTRAINT [PK_Traces] PRIMARY KEY CLUSTERED ( [ID] ASC diff --git a/src/admin/Bootstrap.Admin/BootstrapAdmin.db b/src/admin/Bootstrap.Admin/BootstrapAdmin.db index a64d635d..01609620 100644 Binary files a/src/admin/Bootstrap.Admin/BootstrapAdmin.db and b/src/admin/Bootstrap.Admin/BootstrapAdmin.db differ