From c258e1d3a116f660d3de3107b90e17feda48dce6 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 9 Oct 2019 23:17:16 +0800 Subject: [PATCH] =?UTF-8?q?db(#I134CP):=20=E6=95=B0=E6=8D=AE=E5=BA=93=20Tr?= =?UTF-8?q?ace=20=E8=A1=A8=E5=A2=9E=E5=8A=A0=20Referer=20=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit comment #I134CP link #I134CP --- db/MySQL/install.sql | 6 ++++-- db/Postgresql/install.sql | 6 ++++-- db/SQLite/Install.sql | 3 ++- db/SqlServer/Install.sql | 2 ++ src/admin/Bootstrap.Admin/BootstrapAdmin.db | Bin 110592 -> 110592 bytes 5 files changed, 12 insertions(+), 5 deletions(-) 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 a64d635ddd075893c4f0a65799e36613d3e5183d..0160962031b383b23847eb449361e67783cf7ed0 100644 GIT binary patch delta 783 zcmZp8z}E19ZGyC*JOcxRG!RPxF$)6&qsc@aV@CPLgslmT3+3gRzc6q!Eo9)yL1Ap-@3zu?M^3=BYq2BoH@76AjWEU_p#Be6&WEWABOm9d0_@!<4_x{Ome*c2eX zonEWQsL0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