From 86622f169c56ae6f46166b833f1930be81fddd3c Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 18 Jan 2020 16:07:09 +0800 Subject: [PATCH] =?UTF-8?q?db:=20=E5=A2=9E=E5=8A=A0=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=9B=BA=E5=AE=9A=E8=A1=A8=E5=A4=B4=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/MongoDB/Dicts.js | 6 ++++++ db/MySQL/initData.sql | 1 + db/Oracle/InitData.sql | 1 + db/Postgresql/initData.sql | 1 + db/SQLite/InitData.sql | 1 + db/SqlServer/InitData.sql | 1 + src/admin/Bootstrap.Admin/BootstrapAdmin.db | Bin 102400 -> 102400 bytes 7 files changed, 11 insertions(+) diff --git a/db/MongoDB/Dicts.js b/db/MongoDB/Dicts.js index dd581008..067efec8 100644 --- a/db/MongoDB/Dicts.js +++ b/db/MongoDB/Dicts.js @@ -270,6 +270,12 @@ "Code": "1", "Define": NumberInt(0) }, + { + "Category": "网站设置", + "Name": "固定表头", + "Code": "1", + "Define": NumberInt(0) + }, { "Category": "网站设置", "Name": "OAuth 认证登录", diff --git a/db/MySQL/initData.sql b/db/MySQL/initData.sql index 1b756e48..27f691d0 100644 --- a/db/MySQL/initData.sql +++ b/db/MySQL/initData.sql @@ -32,6 +32,7 @@ INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '前台 -- 网站UI设置 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '侧边栏状态', '1', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '卡片标题状态', '1', 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '固定表头', '1', 0); -- 登录配置 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '短信验证码登录', '1', 0); diff --git a/db/Oracle/InitData.sql b/db/Oracle/InitData.sql index 847c8ea3..60084694 100644 --- a/db/Oracle/InitData.sql +++ b/db/Oracle/InitData.sql @@ -32,6 +32,7 @@ INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVA -- 网站UI设置 INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '网站设置', '侧边栏状态', '1', 0); INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '网站设置', '卡片标题状态', '1', 0); +INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '网站设置', '固定表头', '1', 0); -- 登录配置 INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '网站设置', '短信验证码登录', '1', 0); diff --git a/db/Postgresql/initData.sql b/db/Postgresql/initData.sql index 01197c1a..e8e816ee 100644 --- a/db/Postgresql/initData.sql +++ b/db/Postgresql/initData.sql @@ -32,6 +32,7 @@ INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '前台 -- 网站UI设置 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '侧边栏状态', '1', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '卡片标题状态', '1', 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '固定表头', '1', 0); -- 登录配置 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '短信验证码登录', '1', 0); diff --git a/db/SQLite/InitData.sql b/db/SQLite/InitData.sql index ccbb0069..0ff7caa0 100644 --- a/db/SQLite/InitData.sql +++ b/db/SQLite/InitData.sql @@ -32,6 +32,7 @@ INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置 -- 网站UI设置 INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置', '侧边栏状态', '1', 0); INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置', '卡片标题状态', '1', 0); +INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置', '固定表头', '1', 0); -- 登录配置 INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置', '短信验证码登录', '1', 0); diff --git a/db/SqlServer/InitData.sql b/db/SqlServer/InitData.sql index fa43dd37..32bc3146 100644 --- a/db/SqlServer/InitData.sql +++ b/db/SqlServer/InitData.sql @@ -35,6 +35,7 @@ INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设 -- 网站UI设置 INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设置', N'侧边栏状态', N'1', 0) INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设置', N'卡片标题状态', N'1', 0) +INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设置', N'固定表头', N'1', 0) -- 登录配置 INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设置', N'短信验证码登录', N'1', 0) diff --git a/src/admin/Bootstrap.Admin/BootstrapAdmin.db b/src/admin/Bootstrap.Admin/BootstrapAdmin.db index 78df37583af19a79016fd829b7c18ba5a31263da..2ad6771db339017da9c777015643f14cb3922e87 100644 GIT binary patch delta 74 zcmV-Q0JZ;spay`T29O&8K#?3n0YI@}q|XC226>YQ&}jk&d9x7^2L>S@W(EKyB@YPa gy^-gundq**=e@4wo4Vz$n&_dZ<)pMRvzpdsx%i