Fixed typos in migration

deploy_packages_to_gitea
Jens Pelzetter 2023-01-31 19:09:05 +01:00
parent f0ececa3b5
commit 957b7bb68b
1 changed files with 10 additions and 10 deletions

View File

@ -1,34 +1,34 @@
alter table ccm_cms.binary_asset_descriptions_aud
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
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
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
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
drop constraint side_note_texts_aud_pkey,
add primary key (rev, object_id, locale);
add primary key (rev, side_note_id_id, locale);
alter table ccm_cms.asset_titles_aud
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
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
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
drop constraint content_item_names_aud_pkey,
@ -62,8 +62,8 @@ alter table ccm_cms.mpa_section_titles_aud
drop constraint mpa_section_titles_aud_pkey,
add primary key (rev, object_id, locale);
alter table ccm_cms.mpa_section_text_aud
drop constraint mpa_section_text_aud_pkey,
alter table ccm_cms.mpa_section_texts_aud
drop constraint mpa_section_texts_aud_pkey,
add primary key (rev, object_id, locale);
alter table ccm_cms.news_texts_aud