Commit 65fad446 authored by maoying's avatar maoying

修改脚本执行顺序

parent d0bbeceb
...@@ -457,17 +457,7 @@ ...@@ -457,17 +457,7 @@
alter table `wl_equipment_specific_alarm` add column `location` varchar(255) DEFAULT NULL COMMENT '设备位置'; alter table `wl_equipment_specific_alarm` add column `location` varchar(255) DEFAULT NULL COMMENT '设备位置';
</sql> </sql>
</changeSet> </changeSet>
<changeSet author="gaojianqiang" id="1621826150001-20">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_equipment_specific_alarm_log" columnName="location"/>
</not>
</preConditions>
<comment>wl_equipment_specific_alarm_log add column location</comment>
<sql>
alter table `wl_equipment_specific_alarm_log` add column `location` varchar(255) DEFAULT NULL COMMENT '设备位置';
</sql>
</changeSet>
<changeSet author="gaojianqiang" id="1621826150001-21"> <changeSet author="gaojianqiang" id="1621826150001-21">
<preConditions onFail="MARK_RAN"> <preConditions onFail="MARK_RAN">
<not> <not>
...@@ -1007,6 +997,17 @@ ...@@ -1007,6 +997,17 @@
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='设备报警信息日志表'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='设备报警信息日志表';
</sql> </sql>
</changeSet> </changeSet>
<changeSet author="gaojianqiang" id="1621826150001-20">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_equipment_specific_alarm_log" columnName="location"/>
</not>
</preConditions>
<comment>wl_equipment_specific_alarm_log add column location</comment>
<sql>
alter table `wl_equipment_specific_alarm_log` add column `location` varchar(255) DEFAULT NULL COMMENT '设备位置';
</sql>
</changeSet>
<changeSet id="1630379025553-1" author="shg"> <changeSet id="1630379025553-1" author="shg">
<preConditions onFail="MARK_RAN"> <preConditions onFail="MARK_RAN">
<columnExists tableName="wl_equipment_standard" columnName="create_id"/> <columnExists tableName="wl_equipment_standard" columnName="create_id"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment