Commit d0a63456 authored by chenhao's avatar chenhao

sql修改的脚本

parent 1b2fa62e
......@@ -2410,5 +2410,30 @@
ALTER TABLE `cb_fire_station` add column `biz_org_name` varchar(104) DEFAULT NULL COMMENT '机构/部门名称';
</sql>
</changeSet>
<changeSet author="chenhao" id="2021-12-28-chenhao-1">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_fire_team" columnName="biz_org_code"/>
</not>
</preConditions>
<comment>modify table cb_fire_team add one columns</comment>
<sql>
ALTER TABLE `cb_fire_team` add column `biz_org_code` varchar(1000) DEFAULT NULL COMMENT '机构编码';
ALTER TABLE `cb_fire_team` add column `biz_org_name` varchar(104) DEFAULT NULL COMMENT '机构/部门名称';
</sql>
</changeSet>
<changeSet author="chenhao" id="2021-12-28-chenhao-2">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_water_resource" columnName="biz_org_code"/>
</not>
</preConditions>
<comment>modify table cb_water_resource add one columns</comment>
<sql>
ALTER TABLE `cb_water_resource` add column `biz_org_code` varchar(1000) DEFAULT NULL COMMENT '机构编码';
ALTER TABLE `cb_water_resource` add column `equip_category_code` varchar(100) DEFAULT NULL COMMENT '设施分类编码';
ALTER TABLE `cb_water_resource` add column `biz_org_name` varchar(104) DEFAULT NULL COMMENT '机构/部门名称';
</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