From 425a8d67f78674eb491b63268379d0fb92cafff2 Mon Sep 17 00:00:00 2001 From: "j.goderbauer" <j.goderbauer@jgoderbauer2.aditosoftware.local> Date: Tue, 3 Dec 2019 14:23:54 +0000 Subject: [PATCH] liquibase: critical fix for all dbms that are not derby (cherry picked from commit ab3efeefbdd316af4b9af191c78a7003d68b0b98) --- .../Data_alias/basic/2019.3.2/reworkDbIndexes.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.liquibase/Data_alias/basic/2019.3.2/reworkDbIndexes.xml b/.liquibase/Data_alias/basic/2019.3.2/reworkDbIndexes.xml index 0795451c97..32c1ff9347 100644 --- a/.liquibase/Data_alias/basic/2019.3.2/reworkDbIndexes.xml +++ b/.liquibase/Data_alias/basic/2019.3.2/reworkDbIndexes.xml @@ -4,6 +4,13 @@ The Index names need to be maximal 30 characters long because oracle11 only supports up to 30 characters per index identifier Therefore, the index names have been shortend and may not be very good readable --> + <!--special treatment for derby since the index is missing only there (due to an error in the changelogfile ".\basic\2019.1.4\alter_activityLink.xml" --> + <changeSet dbms="derby" author="j.goderbauer" id="0a119981-4053-46f7-841e-9bac7b824bb4"> + <createIndex indexName="IDX_ACTIVITYLINK_ACTIVITY_ID" tableName="ACTIVITYLINK"> + <column name="ACTIVITY_ID"/> + </createIndex> + </changeSet> + <!--indexes for all dbms--> <changeSet author="j.goderbauer" id="5a0b62f4-6770-454c-9a0e-d60ca16596dd"> <!--remove problematic indexes--> <dropUniqueConstraint constraintName="UNIQUE_CONTRACT_CONTRACTCODE" @@ -138,9 +145,6 @@ <createIndex indexName="IDX_ACTIVITYLINK_OBJECT_ROWID" tableName="ACTIVITYLINK"> <column name="OBJECT_ROWID"/> </createIndex> - <createIndex indexName="IDX_ACTIVITYLINK_ACTIVITY_ID" tableName="ACTIVITYLINK"> - <column name="ACTIVITY_ID"/> - </createIndex> <createIndex indexName="IDX_AB_KWD_ATTRREL_ATTR_ID" tableName="AB_KEYWORD_ATTRIBUTERELATION"> <column name="AB_KEYWORD_ATTRIBUTE_ID"/> </createIndex> -- GitLab