Browse Source

fix 修复编辑报错 去除 NOT NULL 判断 兼容 nacos 低版本

master
疯狂的狮子Li 3 years ago committed by Gitee
parent
commit
2a6a74ead5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 6
      sql/ry_config_20220510.sql

6
sql/ry_config_20220510.sql

@ -27,7 +27,7 @@ CREATE TABLE `config_info` (
`effect` varchar(64) DEFAULT NULL, `effect` varchar(64) DEFAULT NULL,
`type` varchar(64) DEFAULT NULL, `type` varchar(64) DEFAULT NULL,
`c_schema` text, `c_schema` text,
`encrypted_data_key` text NOT NULL COMMENT '秘钥', `encrypted_data_key` text COMMENT '秘钥',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`) UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info';
@ -77,7 +77,7 @@ CREATE TABLE `config_info_beta` (
`src_user` text COMMENT 'source user', `src_user` text COMMENT 'source user',
`src_ip` varchar(50) DEFAULT NULL COMMENT 'source ip', `src_ip` varchar(50) DEFAULT NULL COMMENT 'source ip',
`tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段', `tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
`encrypted_data_key` text NOT NULL COMMENT '秘钥', `encrypted_data_key` text COMMENT '秘钥',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `uk_configinfobeta_datagrouptenant` (`data_id`,`group_id`,`tenant_id`) UNIQUE KEY `uk_configinfobeta_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info_beta'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info_beta';
@ -153,7 +153,7 @@ CREATE TABLE `his_config_info` (
`src_ip` varchar(50) DEFAULT NULL, `src_ip` varchar(50) DEFAULT NULL,
`op_type` char(10) DEFAULT NULL, `op_type` char(10) DEFAULT NULL,
`tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段', `tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
`encrypted_data_key` text NOT NULL COMMENT '秘钥', `encrypted_data_key` text COMMENT '秘钥',
PRIMARY KEY (`nid`), PRIMARY KEY (`nid`),
KEY `idx_gmt_create` (`gmt_create`), KEY `idx_gmt_create` (`gmt_create`),
KEY `idx_gmt_modified` (`gmt_modified`), KEY `idx_gmt_modified` (`gmt_modified`),

Loading…
Cancel
Save