From 0dbfae7b271ab96e19f379543e19938bcf05e063 Mon Sep 17 00:00:00 2001 From: sven <121642038@qq.com> Date: Mon, 25 Apr 2022 23:46:04 +0800 Subject: [PATCH] update sql --- upgrade/database/up-v3.19-v3.2.0.sql | 7 ++----- upgrade/database/up-v3.3.5-v3.3.6.sql | 7 ++++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/upgrade/database/up-v3.19-v3.2.0.sql b/upgrade/database/up-v3.19-v3.2.0.sql index 7da4b92b..3f6f6b34 100644 --- a/upgrade/database/up-v3.19-v3.2.0.sql +++ b/upgrade/database/up-v3.19-v3.2.0.sql @@ -1,5 +1,2 @@ - -ALTER TABLE `issue_main` ADD `last_close_resolve_time` int(11) unsigned DEFAULT 0 COMMENT '最近解决结果:关闭的时间'; -ALTER TABLE `issue_main` ADD `last_close_status_time` int(11) unsigned DEFAULT 0 COMMENT '最近状态:已完成的时间'; -ALTER TABLE `issue_main` ADD `last_done_resolve_time` int(11) unsigned DEFAULT 0 COMMENT '最近解决结果:已解决的时间'; -ALTER TABLE `issue_main` ADD `last_done_status_time` int(11) unsigned DEFAULT 0 COMMENT '最近状态:已解决的时间'; +ALTER TABLE `issue_filter` ADD `is_show` tinyint(1) unsigned DEFAULT '1' COMMENT '是否展示'; +ALTER TABLE `issue_filter` ADD `order_weight` int(11) DEFAULT NULL COMMENT '排序权重'; diff --git a/upgrade/database/up-v3.3.5-v3.3.6.sql b/upgrade/database/up-v3.3.5-v3.3.6.sql index 8d57e0fe..7da4b92b 100644 --- a/upgrade/database/up-v3.3.5-v3.3.6.sql +++ b/upgrade/database/up-v3.3.5-v3.3.6.sql @@ -1,4 +1,5 @@ - -ALTER TABLE `issue_filter` ADD `is_show` tinyint(1) unsigned DEFAULT '1' COMMENT '是否展示'; -ALTER TABLE `issue_filter` ADD `order_weight` int(11) DEFAULT NULL COMMENT '排序权重'; +ALTER TABLE `issue_main` ADD `last_close_resolve_time` int(11) unsigned DEFAULT 0 COMMENT '最近解决结果:关闭的时间'; +ALTER TABLE `issue_main` ADD `last_close_status_time` int(11) unsigned DEFAULT 0 COMMENT '最近状态:已完成的时间'; +ALTER TABLE `issue_main` ADD `last_done_resolve_time` int(11) unsigned DEFAULT 0 COMMENT '最近解决结果:已解决的时间'; +ALTER TABLE `issue_main` ADD `last_done_status_time` int(11) unsigned DEFAULT 0 COMMENT '最近状态:已解决的时间';