|
|
@ -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`), |
|
|
|