db(#I134CP): 数据库 Trace 表增加 Referer 字段

comment #I134CP

link #I134CP
This commit is contained in:
Argo Zhang 2019-10-09 23:17:16 +08:00
parent c43d6be089
commit c258e1d3a1
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
5 changed files with 12 additions and 5 deletions

View File

@ -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 (

View File

@ -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 (

View File

@ -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(

View File

@ -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