更新脚本:数据库Users表Icon字段允许为空,移除默认值default.jpg设置
This commit is contained in:
parent
5e188ebfcf
commit
79ab2941db
|
@ -28,7 +28,7 @@ CREATE TABLE [dbo].[Users](
|
|||
[RejectedBy] [varchar](50) NULL,
|
||||
[RejectedTime] [datetime] NULL,
|
||||
[RejectedReason] [nvarchar](50) NULL,
|
||||
[Icon] [varchar](50) NOT NULL,
|
||||
[Icon] [varchar](50) NULL,
|
||||
[Css] [varchar](50) NULL,
|
||||
CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
|
@ -366,9 +366,6 @@ GO
|
|||
ALTER TABLE [dbo].[Messages] ADD CONSTRAINT [DF_Messages_Label] DEFAULT ((0)) FOR [Label]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[Users] ADD CONSTRAINT [DF_Users_Icon] DEFAULT ('default.jpg') FOR [Icon]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[Navigations] ADD CONSTRAINT [DF_Navigations_Target] DEFAULT ('_self') FOR [Target]
|
||||
GO
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"ApprovedTime": ISODate("2018-09-09T06:06:20.130+0000"),
|
||||
"ApprovedBy": "system",
|
||||
"Description": "系统默认创建",
|
||||
"Icon": "~/images/uploader/default.jpg",
|
||||
"Icon": "default.jpg",
|
||||
"Css": null,
|
||||
"Roles": [
|
||||
"5bd7cc105fa31256f77e4eb7"
|
||||
|
|
Loading…
Reference in New Issue