Skip to content

Commit 824480f

Browse files
committed
Release v2.4
1 parent 2a6285b commit 824480f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+40
-11
lines changed

DataBase/Build.cmd

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@echo off
22
REM: 请根据您的个人实际情况修改以下信息:
33
set server=(local)
4-
set dataBase=ZKEACMS_DEMO
4+
set dataBase=ZKEACMS_Publish2
55
set dbUserId=sa
66
set dbPassword=sa
7-
set dbPath=E:\GitHub\CMS\Easy.CMS.Web\App_Data
7+
set dbPath=D:\Projects\ASP.NET-MVC-CMS\Easy.CMS.Web\App_Data
88
@echo -----------------------------------------------------------------------------
99
@echo *** 欢迎使用 ZKEACMS ***
1010
@echo -----------------------------------------------------------------------------
@@ -90,7 +90,7 @@ if %ERRORLEVEL% NEQ 0 goto errors
9090
@echo HtmlWidget
9191
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "Tables\dbo.HtmlWidget.Table.sql"
9292
if %ERRORLEVEL% NEQ 0 goto errors
93-
@echo HtmlWidget
93+
@echo ImageWidget
9494
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "Tables\dbo.ImageWidget.Table.sql"
9595
if %ERRORLEVEL% NEQ 0 goto errors
9696
@echo Navigation
@@ -315,6 +315,22 @@ if %ERRORLEVEL% NEQ 0 goto errors
315315
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "InitialData\dbo.Permission.Table.sql"
316316
if %ERRORLEVEL% NEQ 0 goto errors
317317

318+
@echo ApplicationSetting
319+
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "InitialData\dbo.ApplicationSetting.Table.sql"
320+
if %ERRORLEVEL% NEQ 0 goto errors
321+
@echo CMS_Message
322+
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "InitialData\dbo.CMS_Message.Table.sql"
323+
if %ERRORLEVEL% NEQ 0 goto errors
324+
@echo DataArchived
325+
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "InitialData\dbo.DataArchived.Table.sql"
326+
if %ERRORLEVEL% NEQ 0 goto errors
327+
@echo ExtendField
328+
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "InitialData\dbo.ExtendField.Table.sql"
329+
if %ERRORLEVEL% NEQ 0 goto errors
330+
@echo PageView
331+
sqlcmd -S %server% -d %dataBase% -U %dbUserId% -P %dbPassword% -b -i "InitialData\dbo.PageView.Table.sql"
332+
if %ERRORLEVEL% NEQ 0 goto errors
333+
318334
@echo -----------------------------------------------------------------------------
319335
@echo 数据库创建成功。
320336
goto done
768 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
2.05 KB
Binary file not shown.
2.94 KB
Binary file not shown.

0 commit comments

Comments
 (0)