Copied corrections to migrations for H2 database.

deploy_packages_to_gitea
Jens Pelzetter 2023-01-31 20:25:59 +01:00
parent 7fef6ce945
commit 6a8f59d663
1 changed files with 14 additions and 14 deletions

View File

@ -1,34 +1,34 @@
alter table ccm_cms.binary_asset_descriptions_aud alter table ccm_cms.binary_asset_descriptions_aud
drop constraint binary_asset_descriptions_aud_pkey, drop constraint binary_asset_descriptions_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, asset_id, locale);
alter table ccm_cms.bookmark_descriptions_aud alter table ccm_cms.bookmark_descriptions_aud
drop constraint bookmark_descriptions_aud_pkey, drop constraint bookmark_descriptions_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, asset_id, locale);
alter table ccm_cms.contact_entry_key_labels_aud alter table ccm_cms.contact_entry_key_labels_aud
drop constraint contact_entry_key_labels_aud_pkey, drop constraint contact_entry_key_labels_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, key_id, locale);
alter table ccm_cms.legal_metadata_rights_aud alter table ccm_cms.legal_metadata_rights_aud
drop constraint legal_metadata_rights_aud_pkey, drop constraint legal_metadata_rights_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, asset_id, locale);
alter table ccm_cms.side_note_texts_aud 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, object_id, locale); add primary key (rev, side_note_id, locale);
alter table ccm_cms.asset_titles_aud alter table ccm_cms.asset_titles_aud
drop constraint asset_titles_aud_pkey, drop constraint asset_titles_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, asset_id, locale);
alter table ccm_cms.attachment_list_captions_aud alter table ccm_cms.attachment_list_captions_aud
drop constraint attachment_list_captions_aud_pkey, drop constraint attachment_list_captions_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, list_id, locale);
alter table ccm_cms.attachment_list_descriptions_aud alter table ccm_cms.attachment_list_descriptions_aud
drop constraint attachment_list_descriptions_aud_pkey, drop constraint attachment_list_descriptions_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, list_id, locale);
alter table ccm_cms.content_item_names_aud alter table ccm_cms.content_item_names_aud
drop constraint content_item_names_aud_pkey, drop constraint content_item_names_aud_pkey,
@ -43,15 +43,15 @@ alter table ccm_cms.content_item_descriptions_aud
add primary key (rev, object_id, locale); add primary key (rev, object_id, locale);
alter table ccm_cms.article_texts_aud alter table ccm_cms.article_texts_aud
drop constraint mpa_article_texts_aud_pkey, drop constraint article_texts_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, object_id, locale);
alter table ccm_cms.event_texts_aud alter table ccm_cms.event_texts_aud
drop constraint mpa_event_texts_aud_pkey, drop constraint event_texts_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, object_id, locale);
alter table ccm_cms.event_dates_aud alter table ccm_cms.event_dates_aud
drop constraint mpa_event_dates_aud_pkey, drop constraint event_dates_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, object_id, locale);
alter table ccm_cms.mpa_summaries_aud alter table ccm_cms.mpa_summaries_aud
@ -62,8 +62,8 @@ alter table ccm_cms.mpa_section_titles_aud
drop constraint mpa_section_titles_aud_pkey, drop constraint mpa_section_titles_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, object_id, locale);
alter table ccm_cms.mpa_section_text_aud alter table ccm_cms.mpa_section_texts_aud
drop constraint mpa_section_text_aud_pkey, drop constraint mpa_section_texts_aud_pkey,
add primary key (rev, object_id, locale); add primary key (rev, object_id, locale);
alter table ccm_cms.news_texts_aud alter table ccm_cms.news_texts_aud