Commit 7fabfddc authored by zhangsen's avatar zhangsen

liqubase 提交

parent 2e4a7f64
......@@ -490,7 +490,26 @@
</changeSet>
<!-- 未找到这个字段有 liqubase维护,已添加判断,字段存在的话就不走这-->
<changeSet author="zs" id="2022-12-10-01">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_org_usr" columnName="job_title"/>
</not>
</preConditions>
<sql>
alter table cb_org_usr add column job_title varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '岗位名称'
</sql>
</changeSet>
<changeSet author="zs" id="2022-12-10-02">
<preConditions onFail="MARK_RAN">
<columnExists tableName="cb_org_usr" columnName="job_title"/>
</preConditions>
<comment>修改属性字段 job_title</comment>
<sql>
alter table `cb_org_usr` MODIFY COLUMN `job_title` varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '岗位名称';
</sql>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -3762,7 +3762,15 @@
<!-- </sql>-->
<!-- </changeSet>-->
<changeSet author="zs" id="20221210-01">
<preConditions onFail="MARK_RAN">
<tableExists tableName="cb_sign"/>
</preConditions>
<comment>修改人员岗位长度</comment>
<sql>
ALTER TABLE cb_sign MODIFY COLUMN job_title varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci 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