diff --git a/ccm-cms/src/main/resources/db/migrations/org/librecms/ccm_cms/pgsql/V7_0_0_37__remove_localized_value_from_primary_key_of_localized_string_tables.sql b/ccm-cms/src/main/resources/db/migrations/org/librecms/ccm_cms/pgsql/V7_0_0_37__remove_localized_value_from_primary_key_of_localized_string_tables.sql index dcab82c4d..901b81e37 100644 --- a/ccm-cms/src/main/resources/db/migrations/org/librecms/ccm_cms/pgsql/V7_0_0_37__remove_localized_value_from_primary_key_of_localized_string_tables.sql +++ b/ccm-cms/src/main/resources/db/migrations/org/librecms/ccm_cms/pgsql/V7_0_0_37__remove_localized_value_from_primary_key_of_localized_string_tables.sql @@ -15,7 +15,7 @@ alter table ccm_cms.legal_metadata_rights_aud add primary key (rev, asset_id, locale); alter table ccm_cms.side_note_texts_aud - drop constraint side_note_texts_aud_pkey, + drop constraint note_texts_aud_pkey, add primary key (rev, side_note_id_id, locale); alter table ccm_cms.asset_titles_aud