Skip to content
Snippets Groups Projects
Commit cef65746 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

#1065349: refactor liquibase files

parent 0f7cf8a5
No related branches found
No related tags found
No related merge requests found
......@@ -2,14 +2,14 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="d.tran" id="90f1d603-d9b0-4c0e-be0c-8a2a1b41b472">
<createIndex tableName="CHECKLIST" indexName="IDX_CHECKLIST_CHECKLISTID">
<column name="CHECKLISTID"/>
<createIndex tableName="CHECKLISTENTRY" indexName="IDX_CHKLSTENTRY_CHECKLIST_ID">
<column name="CHECKLIST_ID"/>
</createIndex>
<createIndex tableName="CHECKLISTENTRY" indexName="IDX_CHECKLISTENTRY_CHECKLISTENTRYID">
<column name="CHECKLISTENTRYID"/>
<createIndex tableName="CHECKLISTENTRYVALUE" indexName="IDX_CHKLSTENTRYVAL_ROWID">
<column name="OBJECT_ROWID"/>
</createIndex>
<createIndex tableName="CHECKLISTENTRYVALUE" indexName="IDX_CHECKLISTENTRYVALUE_CHECKLISTENTRYVALUEID">
<column name="CHECKLISTENTRYVALUEID"/>
<createIndex tableName="CHECKLISTENTRYVALUE" indexName="IDX_CHKLSTENTRYVAL_CHKENTRY_ID">
<column name="CHECKLISTENTRY_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
......@@ -2,7 +2,4 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<include relativeToChangelogFile="true" file="create_salesprojectphasedefinition.xml"/>
<!-- <include relativeToChangelogFile="true" file="init_salesprojectphasedefinition.xml"/>
<include relativeToChangelogFile="true" file="init_salesprojectphasetrait.xml"/>-->
<!--include relativeToChangelogFile="true" file="create_indizes.xml"/-->
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="d.tran" id="7dbaa3ae-ba37-4fd1-9b63-fab48975fb87">
<createIndex tableName="DISTRICTRESPONSIBLE" indexName="IDX_DEPARTMENT_ATTRIBUTE_ID">
<column name="DEPARTMENT_ATTRIBUTE_ID"/>
</createIndex>
<createIndex tableName="DISTRICTRESPONSIBLE" indexName="IDX_DISTRICTRESPONSIBLE_DISTRICT_ID">
<column name="DISTRICT_ID"/>
</createIndex>
<createIndex tableName="DISTRICTRESPONSIBLE" indexName="IDX_EMPLOYEE_CONTACT_ID">
<column name="EMPLOYEE_CONTACT_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
......@@ -13,6 +13,9 @@
<column name="DATE_NEW" type="TIMESTAMP"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</createTable>
<createIndex tableName="SALESPROJECTPHASEDEFINITION" indexName="IDX_SPPHASEDEF_CHECKLIST_ID">
<column name="CHECKLIST_ID"/>
</createIndex>
</changeSet>
<changeSet author="d.tran" id="65674357-70f6-44b7-b54f-57044130b926">
<insert tableName="SALESPROJECTPHASEDEFINITION">
......
......@@ -17695,7 +17695,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<description></description>
</entityFieldDb>
......@@ -17818,7 +17818,7 @@
<scale v="0" />
<notNull v="true" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<description></description>
</entityFieldDb>
......@@ -18012,7 +18012,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<description></description>
</entityFieldDb>
......@@ -18116,7 +18116,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<description></description>
</entityFieldDb>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment