Commit a168f687 authored by tianbo's avatar tianbo

liquibase脚本提交(cb_org_usr增加u_idx_biz_org_code唯一索引)

parent e7147c93
......@@ -3179,5 +3179,20 @@
ALTER TABLE cb_firefighters MODIFY COLUMN job_title_code text CHARACTER SET utf8 DEFAULT NULL COMMENT '岗位数据字典code';
</sql>
</changeSet>
<changeSet id="20220608-1" author="tb">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="u_idx_biz_org_code"/>
</not>
</preConditions>
<comment>业务编码唯一索引</comment>
<createIndex
indexName="u_idx_biz_org_code"
tableName="cb_org_usr"
unique="true">
<column name="biz_org_code"/>
</createIndex>
</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