升级脚本更新
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
-- 日志表新增执行时间字段
|
-- 日志表新增执行时间字段
|
||||||
ALTER TABLE [dbo].[${_prefix}sys_log] ADD [execute_time] decimal(19) NULL;
|
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';
|
update ${_prefix}sys_module set current_version = '4.0.1' where module_code = 'core';
|
||||||
commit;
|
|
||||||
@@ -3,6 +3,9 @@
|
|||||||
ALTER TABLE ${_prefix}sys_log
|
ALTER TABLE ${_prefix}sys_log
|
||||||
ADD COLUMN `execute_time` decimal(19,0) NULL COMMENT '执行时间' AFTER `browser_name`;
|
ADD COLUMN `execute_time` decimal(19,0) NULL COMMENT '执行时间' AFTER `browser_name`;
|
||||||
|
|
||||||
|
-- 重命名待推送为已完成消息表
|
||||||
|
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';
|
update ${_prefix}sys_module set current_version = '4.0.1' where module_code = 'core';
|
||||||
commit;
|
commit;
|
||||||
@@ -3,6 +3,9 @@
|
|||||||
ALTER TABLE ${_prefix}sys_log ADD execute_time NUMBER(19) NULL;
|
ALTER TABLE ${_prefix}sys_log ADD execute_time NUMBER(19) NULL;
|
||||||
COMMENT ON COLUMN ${_prefix}sys_log.execute_time IS '执行时间';
|
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';
|
update ${_prefix}sys_module set current_version = '4.0.1' where module_code = 'core';
|
||||||
commit;
|
commit;
|
||||||
@@ -1 +1,2 @@
|
|||||||
4.0.0
|
4.0.0
|
||||||
|
4.0.1
|
||||||
Reference in New Issue
Block a user