提交 1f443b52 编写于 作者: sq3536's avatar sq3536

diff

上级 fbbcb50d
<?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="1589975293390-1">
<createTable tableName="IBZPERMISSION">
<column name="SYS_PERMISSIONID" type="VARCHAR(200)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_PERMISSION_SYS_PERMISSI"/>
</column>
<column name="SYS_PERMISSIONNAME" type="VARCHAR(200)"/>
<column name="SYSTEMID" type="VARCHAR(100)"/>
<column name="PERMISSIONTYPE" type="VARCHAR(60)"/>
<column name="ENABLE" type="INT"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-2">
<createTable tableName="IBZPSAPPMENUITEM">
<column name="SYS_PSAPPMENUITEMID" type="VARCHAR(200)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_PSAPPMENUITEM_SYS_PSAPP"/>
</column>
<column name="SYS_PSAPPMENUITEMNAME" type="VARCHAR(200)"/>
<column name="PSAPPID" type="VARCHAR(100)"/>
<column name="PSAPPNAME" type="VARCHAR(100)"/>
<column name="PSAPPMENUID" type="VARCHAR(100)"/>
<column name="PSAPPMENUITEMID" type="VARCHAR(100)"/>
<column name="PSAPPPMENUITEMID" type="VARCHAR(100)"/>
<column name="PSAPPMENUNAME" type="VARCHAR(100)"/>
<column name="PSSYSTEMID" type="VARCHAR(100)"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-3">
<createTable tableName="IBZPSDEOPPRIV">
<column name="SYS_PSDEOPPRIVID" type="VARCHAR(200)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_PSDEOPPRIV_SYS_PSDEOPPR"/>
</column>
<column name="SYS_PSDEOPPRIVNAME" type="VARCHAR(200)"/>
<column name="PSDATAENTITYID" type="VARCHAR(100)"/>
<column name="PSDATAENTITYNAME" type="VARCHAR(100)"/>
<column name="PSDEDATARANGEID" type="VARCHAR(100)"/>
<column name="PSDEDATARANGENAME" type="VARCHAR(100)"/>
<column name="PSSYSMODULEID" type="VARCHAR(100)"/>
<column name="PSSYSMODULENAME" type="VARCHAR(100)"/>
<column name="PSSYSTEMID" type="VARCHAR(100)"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
<column name="PSSOURCEID" type="VARCHAR(100)"/>
<column name="PSSOURCENAME" type="VARCHAR(100)"/>
<column name="PSSOURCETYPE" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-4">
<createTable tableName="IBZPSSYSTEM">
<column name="PSSYSTEMID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_PSSYSTEM_PSSYSTEMID"/>
</column>
<column name="PSSYSTEMNAME" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-5">
<createTable tableName="IBZPSSYSUNIRES">
<column name="SYS_PSSYSUNIRESID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_PSSYSUNIRES_SYS_PSSYSUN"/>
</column>
<column name="SYS_PSSYSUNIRESNAME" type="VARCHAR(200)"/>
<column name="UNIRESCODE" type="VARCHAR(100)"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-6">
<createTable tableName="IBZROLE">
<column name="SYS_ROLEID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_ROLE_SYS_ROLEID"/>
</column>
<column name="SYS_ROLENAME" type="VARCHAR(200)"/>
<column name="MEMO" type="VARCHAR(100)"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-7">
<createTable tableName="IBZROLE_PERMISSION">
<column name="SYS_ROLE_PERMISSIONID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_ROLE_PERMISSION_SYS_ROL"/>
</column>
<column name="SYS_ROLE_PERMISSIONNAME" type="VARCHAR(200)"/>
<column name="SYS_ROLEID" type="VARCHAR(100)"/>
<column name="SYS_ROLENAME" type="VARCHAR(200)"/>
<column name="SYS_PERMISSIONID" type="VARCHAR(200)"/>
<column name="SYS_PERMISSIONNAME" type="VARCHAR(200)"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
<column name="SYSTEMID" type="VARCHAR(100)"/>
<column name="UPDATEMAN" type="VARCHAR(60)"/>
<column name="CREATEMAN" type="VARCHAR(60)"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-8">
<createTable tableName="IBZUSER_ROLE">
<column name="SYS_USER_ROLEID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_USER_ROLE_SYS_USER_ROLE"/>
</column>
<column name="SYS_USER_ROLENAME" type="VARCHAR(200)"/>
<column name="SYS_ROLEID" type="VARCHAR(100)"/>
<column name="SYS_ROLENAME" type="VARCHAR(100)"/>
<column name="SYS_USERID" type="VARCHAR(100)"/>
<column name="SYS_USERNAME" type="VARCHAR(100)"/>
<column name="CREATEDATE" type="TIMESTAMP"/>
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-9">
<addForeignKeyConstraint baseColumnNames="SYS_PERMISSIONID" baseTableName="IBZROLE_PERMISSION" constraintName="DER1N_SYS_ROLE_PERMISSION_SYS_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SYS_PERMISSIONID" referencedTableName="IBZPERMISSION" validate="true"/>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-10">
<addForeignKeyConstraint baseColumnNames="SYS_ROLEID" baseTableName="IBZUSER_ROLE" constraintName="DER1N_SYS_USER_ROLE_SYS_ROLE_S" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SYS_ROLEID" referencedTableName="IBZROLE" validate="true"/>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-11">
<addForeignKeyConstraint baseColumnNames="SYS_USERID" baseTableName="IBZUSER_ROLE" constraintName="DER1N_SYS_USER_ROLE_SYS_USER_S" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="USERID" referencedTableName="IBZUSER" validate="true"/>
</changeSet>
</databaseChangeLog>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册