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,
|
||||
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 (
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue