提交 bbb7c528 编写于 作者: zhouweidong's avatar zhouweidong

恢复误删changelog

上级 450be376
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
<changeSet author="steven (generated)" id="1590244604286-1">
<createTable tableName="IBZDEPT">
<column name="DEPTID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_IBZDEPT_DEPTID"/>
</column>
<column name="DEPTCODE" type="VARCHAR(100)"/>
<column name="DEPTNAME" type="VARCHAR(100)"/>
<column name="ORGID" type="VARCHAR(100)"/>
<column name="PDEPTID" type="VARCHAR(100)"/>
<column name="SHORTNAME" type="VARCHAR(100)"/>
<column name="DEPTLEVEL" type="INT"/>
<column name="SHOWORDER" type="INT"/>
<column name="BCODE" type="VARCHAR(100)"/>
<column name="LEADERID" type="VARCHAR(100)"/>
<column name="LEADERNAME" type="VARCHAR(100)"/>
<column name="ENABLE" type="INT"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-2">
<createTable tableName="IBZDEPTMEMBER">
<column name="MEMBERID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_IBZDEPTMEMBER_MEMBERID"/>
</column>
<column name="DEPTID" type="VARCHAR(100)"/>
<column name="USERID" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-3">
<createTable tableName="IBZEMP">
<column name="USERID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_IBZEMP_USERID"/>
</column>
<column name="USERNAME" type="VARCHAR(100)"/>
<column name="PERSONNAME" type="VARCHAR(100)"/>
<column name="USERCODE" type="VARCHAR(100)"/>
<column name="LOGINNAME" type="VARCHAR(100)"/>
<column name="PASSWORD" type="VARCHAR(100)"/>
<column name="DOMAINS" type="VARCHAR(100)"/>
<column name="MDEPTID" type="VARCHAR(100)"/>
<column name="MDEPTCODE" type="VARCHAR(100)"/>
<column name="MDEPTNAME" type="VARCHAR(100)"/>
<column name="BCODE" type="VARCHAR(100)"/>
<column name="POSTID" type="VARCHAR(100)"/>
<column name="POSTCODE" type="VARCHAR(100)"/>
<column name="POSTNAME" type="VARCHAR(100)"/>
<column name="ORGID" type="VARCHAR(100)"/>
<column name="ORGCODE" type="VARCHAR(100)"/>
<column name="ORGNAME" type="VARCHAR(100)"/>
<column name="NICKNAME" type="VARCHAR(100)"/>
<column name="SEX" type="VARCHAR(20)"/>
<column name="CERTCODE" type="VARCHAR(100)"/>
<column name="PHONE" type="VARCHAR(100)"/>
<column name="BIRTHDAY" type="TIMESTAMP"/>
<column name="EMAIL" type="VARCHAR(100)"/>
<column name="AVATAR" type="VARCHAR(100)"/>
<column name="ADDR" type="VARCHAR(255)"/>
<column name="USERICON" type="VARCHAR(255)"/>
<column name="IPADDR" type="VARCHAR(100)"/>
<column name="THEME" type="VARCHAR(100)"/>
<column name="LANG" type="VARCHAR(100)"/>
<column name="FONTSIZE" type="VARCHAR(10)"/>
<column name="MEMO" type="VARCHAR(255)"/>
<column name="RESERVER" type="VARCHAR(255)"/>
<column name="SHOWORDER" type="INT"/>
<column name="ENABLE" type="INT"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-4">
<createTable tableName="IBZORG">
<column name="ORGID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_IBZORG_ORGID"/>
</column>
<column name="ORGCODE" type="VARCHAR(100)"/>
<column name="ORGNAME" type="VARCHAR(100)"/>
<column name="PORGID" type="VARCHAR(100)"/>
<column name="SHORTNAME" type="VARCHAR(100)"/>
<column name="ORGLEVEL" type="INT"/>
<column name="SHOWORDER" type="INT"/>
<column name="ENABLE" type="INT"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-5">
<addForeignKeyConstraint baseColumnNames="DEPTID" baseTableName="IBZDEPTMEMBER" constraintName="DER1N_IBZDEPTMEMBER_IBZDEPT_DE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="DEPTID" referencedTableName="IBZDEPT" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-6">
<addForeignKeyConstraint baseColumnNames="USERID" baseTableName="IBZDEPTMEMBER" constraintName="DER1N_IBZDEPTMEMBER_IBZEMP_USE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="USERID" referencedTableName="IBZEMP" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-7">
<addForeignKeyConstraint baseColumnNames="PDEPTID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZDEPT_PDEPTID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="DEPTID" referencedTableName="IBZDEPT" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-8">
<addForeignKeyConstraint baseColumnNames="ORGID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZORG_ORGID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGID" referencedTableName="IBZORG" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-9">
<addForeignKeyConstraint baseColumnNames="MDEPTID" baseTableName="IBZEMP" constraintName="DER1N_IBZEMP_IBZDEPT_MDEPTID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="DEPTID" referencedTableName="IBZDEPT" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-10">
<addForeignKeyConstraint baseColumnNames="ORGID" baseTableName="IBZEMP" constraintName="DER1N_IBZEMP_IBZORG_ORGID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGID" referencedTableName="IBZORG" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590244604286-11">
<addForeignKeyConstraint baseColumnNames="PORGID" baseTableName="IBZORG" constraintName="DER1N_IBZORG_IBZORG_PORGID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGID" referencedTableName="IBZORG" validate="true"/>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
<changeSet author="Think (generated)" id="1561433044683-1">
<update tableName="IBZUSER">
<column name="USERNAME" value="ibzadmin"/>
<column name="MDEPTID" value="0000000000"/>
<column name="MDEPTCODE" value="0000"/>
<column name="MDEPTNAME" value="默认部门"/>
<column name="ORGID" value="000000"/>
<column name="ORGCODE" value="000000"/>
<column name="ORGNAME" value="默认单位"/>
<column name="DOMAINS" value=""/>
<where >userid = '0100'</where>
</update>
</changeSet>
<changeSet author="Think (generated)" id="1561433044683-2">
<insert tableName="IBZORG">
<column name="ORGID" value="000000"/>
<column name="ORGCODE" value="000000"/>
<column name="ORGNAME" value="默认单位"/>
<column name="SHOWORDER" value="0"/>
<column name="ENABLE" value="1"/>
</insert>
</changeSet>
<changeSet author="Think (generated)" id="1561433044683-3">
<insert tableName="IBZDEPT">
<column name="DEPTID" value="0000000000"/>
<column name="DEPTCODE" value="0000"/>
<column name="DEPTNAME" value="默认部门"/>
<column name="ORGID" value="000000"/>
<column name="SHOWORDER" value="0"/>
<column name="ENABLE" value="1"/>
</insert>
</changeSet>
<changeSet author="Think (generated)" id="1561433044683-4">
<insert tableName="IBZEMP">
<column name="USERID" value="0100"/>
<column name="PERSONNAME" value="管理员"/>
<column name="USERNAME" value="ibzadmin"/>
<column name="USERCODE" value="0100"/>
<column name="LOGINNAME" value="ibzadmin"/>
<column name="PASSWORD" value="123456"/>
<column name="MDEPTID" value="0000000000"/>
<column name="MDEPTCODE" value="0000"/>
<column name="MDEPTNAME" value="默认部门"/>
<column name="ORGID" value="000000"/>
<column name="ORGCODE" value="000000"/>
<column name="ORGNAME" value="默认单位"/>
<column name="DOMAINS" value=""/>
<column name="SHOWORDER" value="0"/>
<column name="ENABLE" value="1"/>
</insert>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
<changeSet author="steven (generated)" id="1590912439911-1">
<createTable tableName="IBZPOST">
<column name="POSTID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_IBZPOST_POSTID"/>
</column>
<column name="POSTCODE" type="VARCHAR(100)"/>
<column name="POSTNAME" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="steven (generated)" id="1590912439911-2">
<createTable tableName="IBZTEAM">
<column name="TEAMID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_IBZTEAM_TEAMID"/>
</column>
<column name="TEAMNAME" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="steven (generated)" id="1590912439911-3">
<createTable tableName="IBZTEAMMEMBER">
<column name="TEAMMEMBERID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_IBZTEAMMEMBER_TEAMMEMBERID"/>
</column>
<column name="TEAMID" type="VARCHAR(100)"/>
<column name="USERID" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="steven (generated)" id="1590912439911-4">
<addForeignKeyConstraint baseColumnNames="POSTID" baseTableName="IBZEMP" constraintName="DER1N_IBZEMP_IBZPOST_POSTID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="POSTID" referencedTableName="IBZPOST" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590912439911-5">
<addForeignKeyConstraint baseColumnNames="USERID" baseTableName="IBZTEAMMEMBER" constraintName="DER1N_IBZTEAMMEMBER_IBZEMP_USE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="USERID" referencedTableName="IBZEMP" validate="true"/>
</changeSet>
<changeSet author="steven (generated)" id="1590912439911-6">
<addForeignKeyConstraint baseColumnNames="TEAMID" baseTableName="IBZTEAMMEMBER" constraintName="DER1N_IBZTEAMMEMBER_IBZTEAM_TE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TEAMID" referencedTableName="IBZTEAM" validate="true"/>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
<changeSet author="sq3536 (generated)" id="1591360295015-1">
<preConditions onFail="MARK_RAN" >
<not >
<columnExists tableName="IBZTEAM" columnName="MEMO" />
</not>
</preConditions>
<addColumn tableName="IBZTEAM">
<column name="MEMO" type="VARCHAR(2000 BYTE)"/>
</addColumn>
<addColumn tableName="IBZPOST">
<column name="DOMAINS" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addColumn tableName="IBZTEAM">
<column name="DOMAINS" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addColumn tableName="IBZDEPTMEMBER">
<column name="POSTID" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addColumn tableName="IBZTEAMMEMBER">
<column name="POSTID" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addColumn tableName="IBZDEPTMEMBER">
<column name="DOMAINS" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addColumn tableName="IBZTEAMMEMBER">
<column name="DOMAINS" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addColumn tableName="IBZPOST">
<column name="MEMO" type="VARCHAR(2000 BYTE)"/>
</addColumn>
<addColumn tableName="IBZDEPT">
<column name="DOMAINS" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addColumn tableName="IBZORG">
<column name="DOMAINS" type="VARCHAR(100 BYTE)"/>
</addColumn>
<addForeignKeyConstraint baseColumnNames="POSTID" baseTableName="IBZDEPTMEMBER" constraintName="DER1N_IBZDEPTMEMBER_IBZPOST_PO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="POSTID" referencedTableName="IBZPOST" validate="true"/>
<addForeignKeyConstraint baseColumnNames="POSTID" baseTableName="IBZTEAMMEMBER" constraintName="DER1N_IBZTEAMMEMBER_IBZPOST_PO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="POSTID" referencedTableName="IBZPOST" validate="true"/>
</changeSet>
</databaseChangeLog>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册