diff --git a/DatabaseScripts/Install.sql b/DatabaseScripts/Install.sql index d996481b..57d69247 100644 --- a/DatabaseScripts/Install.sql +++ b/DatabaseScripts/Install.sql @@ -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 diff --git a/DatabaseScripts/MongoDB/BootstrapAdmin.Users.json b/DatabaseScripts/MongoDB/BootstrapAdmin.Users.json index 71b5861c..edbb7810 100644 --- a/DatabaseScripts/MongoDB/BootstrapAdmin.Users.json +++ b/DatabaseScripts/MongoDB/BootstrapAdmin.Users.json @@ -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"