Commit 45acc3fa authored by 李腾威's avatar 李腾威

微型消防站和消防水源新增字段脚本及消防队伍新增字段

parent 8c766435
......@@ -2583,6 +2583,50 @@
jc.type_code = '315'
</sql>
</changeSet>
<changeSet author="litengwei" id="2021-11-07-1">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_fire_station" columnName="person_charge_id"/>
</not>
</preConditions>
<comment>cb_fire_station add column person_charge_id '负责人id'</comment>
<sql>
alter table `cb_fire_station` add column `person_charge_id` bigint DEFAULT NULL COMMENT '负责人id';
</sql>
</changeSet>
<changeSet author="litengwei" id="2021-11-07-2">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_water_resource" columnName="contact_user_id"/>
</not>
</preConditions>
<comment>cb_water_resource add column contact_user_id '联系人id'</comment>
<sql>
alter table `cb_water_resource` add column `contact_user_id` bigint DEFAULT NULL COMMENT '联系人id';
</sql>
</changeSet>
<changeSet author="litengwei" id="2021-11-07-3">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_firefighters" columnName="biz_org_name"/>
</not>
</preConditions>
<comment>cb_firefighters add column biz_org_name '所属单位名称'</comment>
<sql>
alter table `cb_firefighters` add column `biz_org_name` varchar(100) DEFAULT NULL COMMENT '所属单位名称';
</sql>
</changeSet>
<changeSet author="litengwei" id="2021-11-07-4">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_firefighters" columnName="biz_org_code"/>
</not>
</preConditions>
<comment>cb_firefighters add column biz_org_code '所属单位code'</comment>
<sql>
alter table `cb_firefighters` add column `biz_org_code` varchar(100) DEFAULT NULL COMMENT '所属单位code';
</sql>
</changeSet>
</databaseChangeLog>
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