修改BUG:错误日志UserID与堆栈信息不可为空

This commit is contained in:
Argo-Lenovo 2016-11-16 22:17:10 +08:00
parent bee2917e9f
commit 7521492088
1 changed files with 2 additions and 2 deletions

View File

@ -255,10 +255,10 @@ CREATE TABLE [dbo].[Exceptions](
[ID] [int] IDENTITY(1,1) NOT NULL,
[AppDomainName] [varchar](50) NOT NULL,
[ErrorPage] [varchar](50) NOT NULL,
[UserID] [varchar](50) NULL,
[UserID] [varchar](50) NOT NULL,
[UserIp] [varchar](15) NOT NULL,
[Message] [nvarchar](max) NOT NULL,
[StackTrace] [nvarchar](max) NULL,
[StackTrace] [nvarchar](max) NOT NULL,
[LogTime] [datetime] NOT NULL,
CONSTRAINT [PK_Exceptions] PRIMARY KEY CLUSTERED
(