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

added several database-indices for contact management, keywords, activity and task

parent 0fe7a724
No related branches found
No related tags found
No related merge requests found
......@@ -124,5 +124,9 @@
<include relativeToChangelogFile="true" file="offer_add_date_editnew_user_editnew.xml"/>
<include relativeToChangelogFile="true" file="attributerelation_add_date_editnew_user_editnew.xml"/>
<include relativeToChangelogFile="true" file="communication_add_date_editnew_user_editnew.xml"/>
<include relativeToChangelogFile="true" file="indicesRefactor/ContactManagement.xml"/>
<include relativeToChangelogFile="true" file="indicesRefactor/Keyword.xml"/>
<include relativeToChangelogFile="true" file="indicesRefactor/Activity.xml"/>
<include relativeToChangelogFile="true" file="indicesRefactor/Task.xml"/>
</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: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/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.goderbauer" id="9b4644f6-3060-4791-b9f5-684939b78dcb">
<createIndex indexName="IDX_ACTIVITY_PARENT" tableName="ACTIVITY">
<column name="PARENT_CONTEXT"/>
<column name="PARENT_ID"/>
</createIndex>
<createIndex indexName="IDX_ACTIVITYLINK_ACTIVITY_ID" tableName="ACTIVITYLINK">
<column name="ACTIVITY_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?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: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/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.goderbauer" id="0f2ec94d-75d0-42d9-8026-d70197f0ded4">
<createIndex indexName="IDX_ADDRESS_CONTACT_ID" tableName="ADDRESS">
<column name="CONTACT_ID"/>
</createIndex>
<createIndex indexName="IDX_CONTACT_ANY_CONTACT" tableName="CONTACT">
<column name="PERSON_ID"/>
<column name="ORGANISATION_ID"/>
</createIndex>
<createIndex indexName="IDX_CONTACT_ADDRESS_ID" tableName="CONTACT">
<column name="ADDRESS_ID"/>
</createIndex>
<createIndex indexName="IDX_COMMUNICATION_CONTACT_ID" tableName="COMMUNICATION">
<column name="CONTACT_ID"/>
</createIndex>
<createIndex indexName="IDX_COMMUNICATION_MEDIUM_ID" tableName="COMMUNICATION">
<column name="MEDIUM_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?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: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/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.goderbauer" id="95a53a6c-6157-4fc8-a4cb-501da22ad326">
<!-- the database will propably never use these indices since there are too less entries within the tables
but IF there should be a lot of entries (thanks to imports or else) there are at least indices -->
<createIndex indexName="IDX_KWD_ENTRY_CONTAINER" tableName="AB_KEYWORD_ENTRY">
<column name="CONTAINER"/>
</createIndex>
<createIndex indexName="IDX_KWD_ATTR_CONTAINER" tableName="AB_KEYWORD_ATTRIBUTE">
<column name="CONTAINER"/>
</createIndex>
<createIndex indexName="IDX_KWD_ATTRREL_KWD_ENTRY_ID" tableName="AB_KEYWORD_ATTRIBUTERELATION">
<column name="AB_KEYWORD_ENTRY_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?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: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/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.goderbauer" id="038575fd-cbf2-452a-8eae-0b594779cd1b">
<createIndex indexName="IDX_TASK_REQUESTOR_CONTACT_ID" tableName="TASK">
<column name="REQUESTOR_CONTACT_ID"/>
</createIndex>
<createIndex indexName="IDX_TASK_EDITOR_CONTACT_ID" tableName="TASK">
<column name="EDITOR_CONTACT_ID"/>
</createIndex>
<createIndex indexName="IDX_TASK_PARENT" tableName="TASK">
<column name="PARENT_CONTEXT"/>
<column name="PARENT_ID"/>
</createIndex>
<createIndex indexName="IDX_TASKLINK_TASK_ID" tableName="TASKLINK">
<column name="TASK_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
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