Commit 4dad820a authored by tangwei's avatar tangwei

增加脚本

parent 0a79e6c3
...@@ -2175,4 +2175,55 @@ ...@@ -2175,4 +2175,55 @@
INSERT INTO `wl_form_group_column`(`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`, `create_date`) VALUES (133000000307 , 'bizOrgName', '机构/部门名称', 'String', 132828674823, 'eq', b'0', 'r_else', 2581805, '2021-12-15 17:34:04'); INSERT INTO `wl_form_group_column`(`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`, `create_date`) VALUES (133000000307 , 'bizOrgName', '机构/部门名称', 'String', 132828674823, 'eq', b'0', 'r_else', 2581805, '2021-12-15 17:34:04');
</sql> </sql>
</changeSet> </changeSet>
<changeSet author="tw" id="20220104-1">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_car" columnName="biz_org_name"/>
</not>
</preConditions>
<comment>wl_area add column biz_org_name</comment>
<sql>
alter table `wl_car` add column `biz_org_name` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '机构/部门名称';
</sql>
</changeSet>
<changeSet author="tw" id="20220104-2">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_car" columnName="biz_org_code"/>
</not>
</preConditions>
<comment>wl_area add column biz_org_code</comment>
<sql>
alter table `wl_car` add column `biz_org_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '机构编码';
</sql>
</changeSet>
<changeSet author="tw" id="20220104-3">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_equipment_specific" columnName="biz_org_name"/>
</not>
</preConditions>
<comment>wl_area add column biz_org_name</comment>
<sql>
alter table `wl_equipment_specific` add column `biz_org_name` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '机构/部门名称';
</sql>
</changeSet>
<changeSet author="tw" id="20220104-4">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_equipment_specific" columnName="biz_org_code"/>
</not>
</preConditions>
<comment>wl_area add column biz_org_code</comment>
<sql>
alter table `wl_equipment_specific` add column `biz_org_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '机构编码';
</sql>
</changeSet>
</databaseChangeLog> </databaseChangeLog>
\ No newline at end of file
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