From a403a82922e9027d4c4f49923f20c1d9f3265d37 Mon Sep 17 00:00:00 2001 From: zhangwenqing Date: Mon, 17 Jun 2019 14:36:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=AC=E5=85=B1=E7=BB=84?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=A1=A8sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/20190610/common_group_save_cfg.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/sql/20190610/common_group_save_cfg.sql b/src/main/resources/sql/20190610/common_group_save_cfg.sql index 154c3d8c2..9c5dbd1c7 100644 --- a/src/main/resources/sql/20190610/common_group_save_cfg.sql +++ b/src/main/resources/sql/20190610/common_group_save_cfg.sql @@ -62,7 +62,7 @@ VALUES (SELECT id FROM sys_data_dictionary_name WHERE mark = 'GROUP_TYPE') ); - +# 增加字段 +ALTER TABLE policy_group_info add ud_flag INT(2) NOT NULL DEFAULT 0 COMMENT '0:不可用,1:未被引用(可用),2:已被引用(可用)|默认0'; # 修改表字段注释 -ALTER TABLE policy_group_info MODIFY COLUMN group_type INT(2) DEFAULT NULL COMMENT '1:dns 2:ip复用, 4:asn, 5:IP通用组, 7:URL通用组, 8:Domain通用组, 9:SubscribeId通用组', - MODIFY COLUMN ud_flag INT(2) NOT NULL DEFAULT 0 COMMENT '0:不可用,1:未被引用(可用),2:已被引用(可用)|默认0'; +ALTER TABLE policy_group_info MODIFY COLUMN group_type INT(2) DEFAULT NULL COMMENT '1:dns 2:ip复用, 4:asn, 5:IP通用组, 7:URL通用组, 8:Domain通用组, 9:SubscribeId通用组';