Browse Source

#启动sql脚本更新

zhongwei
yang_shj 5 months ago
parent
commit
75b4487426
  1. 8
      hzims-service/safeproduct/src/main/resources/db/3.0.1.sql

8
hzims-service/safeproduct/src/main/resources/db/3.0.1.sql

@ -1,4 +1,4 @@
CREATE TABLE `hzims_institutional_information` (
CREATE TABLE IF NOT EXISTS `hzims_institutional_information` (
`ID` bigint(20) NOT NULL COMMENT '主键ID',
`STATION_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '站点编码',
`STATION_NAME` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称',
@ -22,7 +22,7 @@ CREATE TABLE `hzims_institutional_information` (
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
CREATE TABLE `hzims_rectification_supervision` (
CREATE TABLE IF NOT EXISTS `hzims_rectification_supervision` (
`ID` bigint(20) NOT NULL COMMENT '主键ID',
`STATION_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '站点编码',
`STATION_NAME` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称',
@ -49,7 +49,7 @@ CREATE TABLE `hzims_rectification_supervision` (
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
CREATE TABLE `hzims_safety_train` (
CREATE TABLE IF NOT EXISTS `hzims_safety_train` (
`ID` bigint(20) NOT NULL COMMENT '主键ID',
`STATION_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '站点编码',
`STATION_NAME` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称',
@ -76,7 +76,7 @@ CREATE TABLE `hzims_safety_train` (
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
CREATE TABLE `hzims_violation_assessment` (
CREATE TABLE IF NOT EXISTS `hzims_violation_assessment` (
`ID` bigint(20) NOT NULL COMMENT '主键ID',
`STATION_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '站点编码',
`STATION_NAME` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称',

Loading…
Cancel
Save