From 0be8bae8affc34a910c29702e44ca59787acc910 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Sat, 21 Apr 2018 22:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4sql=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E6=9B=B4=E6=96=B0=E6=A8=A1=E6=9D=BF=E7=89=88?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E5=9B=A0=E4=B8=BA=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81=E4=BA=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/db/upgrade/core/mssql/mssql_4.0.1.sql | 3 --- .../src/main/resources/db/upgrade/core/mysql/mysql_4.0.1.sql | 2 -- .../src/main/resources/db/upgrade/core/oracle/oracle_4.0.1.sql | 2 -- .../resources/db/upgrade/core/postgresql/postgresql_4.0.1.sql | 2 -- 4 files changed, 9 deletions(-) diff --git a/modules/core/src/main/resources/db/upgrade/core/mssql/mssql_4.0.1.sql b/modules/core/src/main/resources/db/upgrade/core/mssql/mssql_4.0.1.sql index 48ce8f3a..45e42342 100644 --- a/modules/core/src/main/resources/db/upgrade/core/mssql/mssql_4.0.1.sql +++ b/modules/core/src/main/resources/db/upgrade/core/mssql/mssql_4.0.1.sql @@ -4,6 +4,3 @@ ALTER TABLE [dbo].[${_prefix}sys_log] ADD [execute_time] decimal(19) NULL; -- 重命名待推送为已完成消息表 execute sp_rename N'${_prefix}sys_msg_push_wait', N'${_prefix}sys_msg_pushed'; - --- 更新模块数据库版本 -update ${_prefix}sys_module set current_version = '4.0.1' where module_code = 'core'; diff --git a/modules/core/src/main/resources/db/upgrade/core/mysql/mysql_4.0.1.sql b/modules/core/src/main/resources/db/upgrade/core/mysql/mysql_4.0.1.sql index 428167f3..83891776 100644 --- a/modules/core/src/main/resources/db/upgrade/core/mysql/mysql_4.0.1.sql +++ b/modules/core/src/main/resources/db/upgrade/core/mysql/mysql_4.0.1.sql @@ -6,6 +6,4 @@ ADD COLUMN `execute_time` decimal(19,0) NULL COMMENT '执行时间' AFTER `brows -- 重命名待推送为已完成消息表 RENAME TABLE ${_prefix}sys_msg_push_wait TO ${_prefix}sys_msg_pushed; --- 更新模块数据库版本 -update ${_prefix}sys_module set current_version = '4.0.1' where module_code = 'core'; commit; \ No newline at end of file diff --git a/modules/core/src/main/resources/db/upgrade/core/oracle/oracle_4.0.1.sql b/modules/core/src/main/resources/db/upgrade/core/oracle/oracle_4.0.1.sql index 38af75f7..da1ae62d 100644 --- a/modules/core/src/main/resources/db/upgrade/core/oracle/oracle_4.0.1.sql +++ b/modules/core/src/main/resources/db/upgrade/core/oracle/oracle_4.0.1.sql @@ -6,6 +6,4 @@ COMMENT ON COLUMN ${_prefix}sys_log.execute_time IS '执行时间'; -- 重命名待推送为已完成消息表 ALTER TABLE ${_prefix}sys_msg_push_wait RENAME TO ${_prefix}sys_msg_pushed; --- 更新模块数据库版本 -update ${_prefix}sys_module set current_version = '4.0.1' where module_code = 'core'; commit; \ No newline at end of file diff --git a/modules/core/src/main/resources/db/upgrade/core/postgresql/postgresql_4.0.1.sql b/modules/core/src/main/resources/db/upgrade/core/postgresql/postgresql_4.0.1.sql index f2e3ccd7..29d8cac2 100644 --- a/modules/core/src/main/resources/db/upgrade/core/postgresql/postgresql_4.0.1.sql +++ b/modules/core/src/main/resources/db/upgrade/core/postgresql/postgresql_4.0.1.sql @@ -6,6 +6,4 @@ COMMENT ON COLUMN ${_prefix}sys_log.execute_time IS '执行时间'; -- 重命名待推送为已完成消息表 ALTER TABLE ${_prefix}sys_msg_push_wait RENAME TO ${_prefix}sys_msg_pushed; --- 更新模块数据库版本 -update ${_prefix}sys_module set current_version = '4.0.1' where module_code = 'core'; commit; \ No newline at end of file