db: 更新数据库脚本增加浏览器操作系统等字段大小为 2000
This commit is contained in:
parent
c911fd99b2
commit
9e963aba7b
|
@ -178,10 +178,10 @@ CREATE TABLE Traces(
|
||||||
UserName VARCHAR (50) NOT NULL,
|
UserName VARCHAR (50) NOT NULL,
|
||||||
LogTime DATETIME NOT NULL,
|
LogTime DATETIME NOT NULL,
|
||||||
IP VARCHAR (15) NOT NULL,
|
IP VARCHAR (15) NOT NULL,
|
||||||
Browser VARCHAR (50),
|
Browser VARCHAR (2000),
|
||||||
OS VARCHAR (50),
|
OS VARCHAR (2000),
|
||||||
City VARCHAR (50),
|
City VARCHAR (50),
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (2000) NOT NULL,
|
||||||
UserAgent VARCHAR (2000) NULL,
|
UserAgent VARCHAR (2000) NULL,
|
||||||
Referer VARCHAR (2000)
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
|
@ -178,10 +178,10 @@ CREATE TABLE Traces(
|
||||||
UserName NVARCHAR2 (50) NOT NULL,
|
UserName NVARCHAR2 (50) NOT NULL,
|
||||||
LogTime DATE NOT NULL,
|
LogTime DATE NOT NULL,
|
||||||
IP NVARCHAR2 (15) NOT NULL,
|
IP NVARCHAR2 (15) NOT NULL,
|
||||||
Browser NVARCHAR2 (50),
|
Browser NVARCHAR2 (2000),
|
||||||
OS NVARCHAR2 (50),
|
OS NVARCHAR2 (2000),
|
||||||
City NVARCHAR2 (50),
|
City NVARCHAR2 (50),
|
||||||
RequestUrl NVARCHAR2 (500) NOT NULL,
|
RequestUrl NVARCHAR2 (2000) NOT NULL,
|
||||||
UserAgent NVARCHAR2 (2000),
|
UserAgent NVARCHAR2 (2000),
|
||||||
Referer NVARCHAR2 (2000)
|
Referer NVARCHAR2 (2000)
|
||||||
);
|
);
|
||||||
|
|
|
@ -178,10 +178,10 @@ CREATE TABLE Traces(
|
||||||
UserName VARCHAR (50) NOT NULL,
|
UserName VARCHAR (50) NOT NULL,
|
||||||
LogTime DATE NOT NULL,
|
LogTime DATE NOT NULL,
|
||||||
IP VARCHAR (15) NOT NULL,
|
IP VARCHAR (15) NOT NULL,
|
||||||
Browser VARCHAR (50),
|
Browser VARCHAR (2000),
|
||||||
OS VARCHAR (50),
|
OS VARCHAR (2000),
|
||||||
City VARCHAR (50),
|
City VARCHAR (50),
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (2000) NOT NULL,
|
||||||
UserAgent VARCHAR (2000) NULL,
|
UserAgent VARCHAR (2000) NULL,
|
||||||
Referer VARCHAR (2000)
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
|
@ -178,10 +178,10 @@ CREATE TABLE Traces(
|
||||||
UserName VARCHAR (50) NOT NULL COLLATE NOCASE,
|
UserName VARCHAR (50) NOT NULL COLLATE NOCASE,
|
||||||
LogTime DATETIME NOT NULL,
|
LogTime DATETIME NOT NULL,
|
||||||
IP VARCHAR (15) NOT NULL,
|
IP VARCHAR (15) NOT NULL,
|
||||||
Browser VARCHAR (50),
|
Browser VARCHAR (2000),
|
||||||
OS VARCHAR (50),
|
OS VARCHAR (2000),
|
||||||
City VARCHAR (50),
|
City VARCHAR (50),
|
||||||
RequestUrl VARCHAR (500) NOT NULL,
|
RequestUrl VARCHAR (2000) NOT NULL,
|
||||||
UserAgent VARCHAR (2000),
|
UserAgent VARCHAR (2000),
|
||||||
Referer VARCHAR (2000)
|
Referer VARCHAR (2000)
|
||||||
);
|
);
|
||||||
|
|
|
@ -564,10 +564,10 @@ CREATE TABLE [dbo].[Traces](
|
||||||
[UserName] [varchar](50) NOT NULL,
|
[UserName] [varchar](50) NOT NULL,
|
||||||
[LogTime] [datetime] NOT NULL,
|
[LogTime] [datetime] NOT NULL,
|
||||||
[Ip] [varchar](15) NOT NULL,
|
[Ip] [varchar](15) NOT NULL,
|
||||||
[Browser] [varchar](50) NULL,
|
[Browser] [varchar](2000) NULL,
|
||||||
[OS] [varchar](50) NULL,
|
[OS] [varchar](2000) NULL,
|
||||||
[City] [nvarchar](50) NULL,
|
[City] [nvarchar](50) NULL,
|
||||||
[RequestUrl] [nvarchar](500) NOT NULL,
|
[RequestUrl] [nvarchar](2000) NOT NULL,
|
||||||
[UserAgent] [varchar](2000) NULL,
|
[UserAgent] [varchar](2000) NULL,
|
||||||
[Referer] [nvarchar](2000) NULL,
|
[Referer] [nvarchar](2000) NULL,
|
||||||
CONSTRAINT [PK_Traces] PRIMARY KEY CLUSTERED
|
CONSTRAINT [PK_Traces] PRIMARY KEY CLUSTERED
|
||||||
|
|
Loading…
Reference in New Issue