增加 建表SQL t_list_db_version
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
SQLyog v12.2.6 (64 bit)
|
SQLyog v12.2.6 (64 bit)
|
||||||
MySQL - 5.7.24-log : Database - riskmanage
|
MySQL - 5.7.24-log : Database - riskmanage
|
||||||
*********************************************************************
|
*********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*!40101 SET NAMES utf8 */;
|
/*!40101 SET NAMES utf8 */;
|
||||||
|
|
||||||
@@ -16,6 +17,28 @@ CREATE DATABASE /*!32312 IF NOT EXISTS*/`riskmanage` /*!40100 DEFAULT CHARACTER
|
|||||||
|
|
||||||
USE `riskmanage`;
|
USE `riskmanage`;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `t_list_db_version`;
|
||||||
|
|
||||||
|
create table t_list_db_version(
|
||||||
|
id int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
|
||||||
|
list_db_id int(11) NOT NULL,
|
||||||
|
version_code varchar(255) DEFAULT NULL,
|
||||||
|
description varchar(4096) DEFAULT NULL,
|
||||||
|
result_field_en varchar(255) DEFAULT NULL,
|
||||||
|
status int(4) DEFAULT NULL,
|
||||||
|
table_column varchar(1024) DEFAULT NULL,
|
||||||
|
match_type int(4) DEFAULT NULL,
|
||||||
|
query_type int(4) DEFAULT NULL,
|
||||||
|
query_field varchar(255) DEFAULT NULL ,
|
||||||
|
organ_id int(11) NOT NULL DEFAULT '0' COMMENT '组织id',
|
||||||
|
create_user_id int(11) NOT NULL DEFAULT '0' COMMENT '创建者id',
|
||||||
|
update_user_id int(11) NOT NULL DEFAULT '0' COMMENT '修改者id',
|
||||||
|
create_time datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建日期',
|
||||||
|
update_time datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改日期',
|
||||||
|
snapshot json DEFAULT NULL COMMENT '名单库版本配置快照',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
/*Table structure for table `t_analyse_decision_result` */
|
/*Table structure for table `t_analyse_decision_result` */
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `t_analyse_decision_result`;
|
DROP TABLE IF EXISTS `t_analyse_decision_result`;
|
||||||
|
|||||||
Reference in New Issue
Block a user