From 79ab2941db0309e8117d31865f3a40c8c42cc38b Mon Sep 17 00:00:00 2001 From: Argo-Surface Date: Sat, 12 Jan 2019 10:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC=EF=BC=9A?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93Users=E8=A1=A8Icon=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=85=81=E8=AE=B8=E4=B8=BA=E7=A9=BA=EF=BC=8C=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BCdefault.jpg=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DatabaseScripts/Install.sql | 5 +---- DatabaseScripts/MongoDB/BootstrapAdmin.Users.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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"