db(#I134CP): 数据库 Trace 表增加 Referer 字段
comment #I134CP link #I134CP
This commit is contained in:
parent
c43d6be089
commit
c258e1d3a1
|
@ -88,7 +88,8 @@ CREATE TABLE Logs(
|
||||||
City VARCHAR (50) NULL,
|
City VARCHAR (50) NULL,
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (500) NOT NULL,
|
||||||
RequestData MEDIUMTEXT NULL,
|
RequestData MEDIUMTEXT NULL,
|
||||||
UserAgent VARCHAR (2000) NULL
|
UserAgent VARCHAR (2000) NULL,
|
||||||
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE `Groups`(
|
CREATE TABLE `Groups`(
|
||||||
|
@ -181,7 +182,8 @@ CREATE TABLE Traces(
|
||||||
OS VARCHAR (50),
|
OS VARCHAR (50),
|
||||||
City VARCHAR (50),
|
City VARCHAR (50),
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (500) NOT NULL,
|
||||||
UserAgent VARCHAR (2000) NULL
|
UserAgent VARCHAR (2000) NULL,
|
||||||
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE DBLogs (
|
CREATE TABLE DBLogs (
|
||||||
|
|
|
@ -88,7 +88,8 @@ CREATE TABLE Logs(
|
||||||
City VARCHAR (50) NULL,
|
City VARCHAR (50) NULL,
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (500) NOT NULL,
|
||||||
RequestData TEXT NULL,
|
RequestData TEXT NULL,
|
||||||
UserAgent VARCHAR (2000) NULL
|
UserAgent VARCHAR (2000) NULL,
|
||||||
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE Groups(
|
CREATE TABLE Groups(
|
||||||
|
@ -181,7 +182,8 @@ CREATE TABLE Traces(
|
||||||
OS VARCHAR (50),
|
OS VARCHAR (50),
|
||||||
City VARCHAR (50),
|
City VARCHAR (50),
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (500) NOT NULL,
|
||||||
UserAgent VARCHAR (2000) NULL
|
UserAgent VARCHAR (2000) NULL,
|
||||||
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE DBLogs (
|
CREATE TABLE DBLogs (
|
||||||
|
|
|
@ -88,7 +88,8 @@ CREATE TABLE Logs(
|
||||||
City VARCHAR (50) NULL,
|
City VARCHAR (50) NULL,
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (500) NOT NULL,
|
||||||
RequestData TEXT NULL,
|
RequestData TEXT NULL,
|
||||||
UserAgent VARCHAR (2000) NULL
|
UserAgent VARCHAR (2000) NULL,
|
||||||
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE Groups(
|
CREATE TABLE Groups(
|
||||||
|
|
|
@ -282,6 +282,7 @@ CREATE TABLE [dbo].[Logs](
|
||||||
[RequestUrl] [nvarchar](500) NOT NULL,
|
[RequestUrl] [nvarchar](500) NOT NULL,
|
||||||
[RequestData] [nvarchar](max) NULL,
|
[RequestData] [nvarchar](max) NULL,
|
||||||
[UserAgent] [varchar](2000) NULL,
|
[UserAgent] [varchar](2000) NULL,
|
||||||
|
[Referer] [varchar](2000) NULL,
|
||||||
CONSTRAINT [PK_Logs] PRIMARY KEY CLUSTERED
|
CONSTRAINT [PK_Logs] PRIMARY KEY CLUSTERED
|
||||||
(
|
(
|
||||||
[ID] ASC
|
[ID] ASC
|
||||||
|
@ -568,6 +569,7 @@ CREATE TABLE [dbo].[Traces](
|
||||||
[City] [nvarchar](50) NULL,
|
[City] [nvarchar](50) NULL,
|
||||||
[RequestUrl] [nvarchar](500) NOT NULL,
|
[RequestUrl] [nvarchar](500) NOT NULL,
|
||||||
[UserAgent] [varchar](2000) NULL,
|
[UserAgent] [varchar](2000) NULL,
|
||||||
|
[Referer] [nvarchar](2000) NULL,
|
||||||
CONSTRAINT [PK_Traces] PRIMARY KEY CLUSTERED
|
CONSTRAINT [PK_Traces] PRIMARY KEY CLUSTERED
|
||||||
(
|
(
|
||||||
[ID] ASC
|
[ID] ASC
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue