Browse Source

脚本

master
zxc 3 years ago
parent
commit
433e27026e
  1. 18
      epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.83__ic_danger_area.sql

18
epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.83__ic_danger_area.sql

@ -0,0 +1,18 @@
CREATE TABLE `ic_danger_area`
(
`ID` varchar(64) NOT NULL COMMENT 'ID',
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户ID',
`DANGER_LEVEL` varchar(10) NOT NULL COMMENT '风险等级;字典表key【dangerAreaLevel】\n0:低风险;\n1:中风险;\n2:高风险;',
`PROVINCE` varchar(255) NOT NULL COMMENT '',
`CITY` varchar(255) DEFAULT NULL COMMENT '',
`DISTRICT` varchar(255) DEFAULT NULL COMMENT '',
`ALL_NAME` varchar(255) NOT NULL COMMENT '省-市-区',
`ALL_NAME_CODE` varchar(255) DEFAULT NULL,
`DEL_FLAG` int(11) NOT NULL,
`REVISION` int(11) NOT NULL COMMENT '乐观锁',
`CREATED_BY` varchar(32) NOT NULL COMMENT '创建人',
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间',
`UPDATED_BY` varchar(32) NOT NULL COMMENT '更新人',
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='疫情风险地区';
Loading…
Cancel
Save