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

diff

上级 dbd5ff23
<?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="1590053859400-1">
<createTable tableName="IBZAUTHLOG">
<column name="LOGID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_AUTHLOG_LOGID"/>
</column>
<column name="USERNAME" type="VARCHAR(100)"/>
<column name="PERSONNAME" type="VARCHAR(100)"/>
<column name="DOMAIN" type="VARCHAR(100)"/>
<column name="AUTHTIME" type="TIMESTAMP"/>
<column name="IPADDR" type="VARCHAR(100)"/>
<column name="MACADDR" type="VARCHAR(100)"/>
<column name="USERAGENT" type="VARCHAR(100)"/>
<column name="AUTHCODE" type="VARCHAR(15)"/>
</createTable>
</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="1589975293390-1">
<changeSet author="sq3536 (generated)" id="1590632951240-1">
<createTable tableName="IBZAUTHLOG">
<column name="LOGID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_AUTHLOG_LOGID"/>
</column>
<column name="USERNAME" type="VARCHAR(100)"/>
<column name="PERSONNAME" type="VARCHAR(100)"/>
<column name="DOMAIN" type="VARCHAR(100)"/>
<column name="AUTHTIME" type="TIMESTAMP"/>
<column name="IPADDR" type="VARCHAR(100)"/>
<column name="MACADDR" type="VARCHAR(100)"/>
<column name="USERAGENT" type="VARCHAR(100)"/>
<column name="AUTHCODE" type="VARCHAR(15)"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1590632951240-2">
<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="ENABLE" type="INT"/>
<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">
<changeSet author="sq3536 (generated)" id="1590632951240-3">
<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)"/>
<column name="SYSSTRUCTURE" type="CLOB"/>
</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">
<changeSet author="sq3536 (generated)" id="1590632951240-4">
<createTable tableName="IBZROLE">
<column name="SYS_ROLEID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_SYS_ROLE_SYS_ROLEID"/>
......@@ -80,44 +48,32 @@
<column name="UPDATEDATE" type="TIMESTAMP"/>
</createTable>
</changeSet>
<changeSet author="sq3536 (generated)" id="1589975293390-7">
<changeSet author="sq3536 (generated)" id="1590632951240-5">
<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">
<changeSet author="sq3536 (generated)" id="1590632951240-6">
<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">
<changeSet author="sq3536 (generated)" id="1590632951240-7">
<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">
<changeSet author="sq3536 (generated)" id="1590632951240-8">
<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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册