Fix primary key of localized string audit tables
parent
2d33b1aca2
commit
c3dfcc1be3
|
|
@ -0,0 +1,31 @@
|
||||||
|
alter table sci_publications.journal_descriptions_aud
|
||||||
|
drop constraint journal_descriptions_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_titles_aud
|
||||||
|
drop constraint publication_titles_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_short_descs_aud
|
||||||
|
drop constraint publication_short_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_abstracts_aud
|
||||||
|
drop constraint publication_abstracts_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_misc_aud
|
||||||
|
drop constraint publication_misc_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_edition_aud
|
||||||
|
drop constraint publication_edition_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.series_titles_aud
|
||||||
|
drop constraint series_titles_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.series_descriptions_aud
|
||||||
|
drop constraint series_descriptions_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
alter table sci_publications.journal_descriptions_aud
|
||||||
|
drop constraint journal_descriptions_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_titles_aud
|
||||||
|
drop constraint publication_titles_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_short_descs_aud
|
||||||
|
drop constraint publication_short_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_abstracts_aud
|
||||||
|
drop constraint publication_abstracts_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_misc_aud
|
||||||
|
drop constraint publication_misc_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.publication_edition_aud
|
||||||
|
drop constraint publication_edition_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.series_titles_aud
|
||||||
|
drop constraint series_titles_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_publications.series_descriptions_aud
|
||||||
|
drop constraint series_descriptions_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
alter table sci_types_department.department_short_descs_aud
|
||||||
|
drop constraint department_short_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_department.department_descs_aud
|
||||||
|
drop constraint department_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_department.department_addendum_aud
|
||||||
|
drop constraint department_addendum_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_department.department_text_values_aud
|
||||||
|
drop constraint department_text_values_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
alter table sci_types_department.department_short_descs_aud
|
||||||
|
drop constraint department_short_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_department.department_descs_aud
|
||||||
|
drop constraint department_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_department.department_addendum_aud
|
||||||
|
drop constraint department_addendum_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_department.department_text_values_aud
|
||||||
|
drop constraint department_text_values_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
alter table sci_types_project.project_short_descs_aud
|
||||||
|
drop constraint project_short_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_project.project_descs_aud
|
||||||
|
drop constraint project_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_project.project_funding_aud
|
||||||
|
drop constraint project_funding_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_project.project_funding_volume_aud
|
||||||
|
drop constraint project_funding_volume_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
alter table sci_types_project.project_short_descs_aud
|
||||||
|
drop constraint project_short_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_project.project_descs_aud
|
||||||
|
drop constraint project_descs_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_project.project_funding_aud
|
||||||
|
drop constraint project_funding_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
|
|
||||||
|
alter table sci_types_project.project_funding_volume_aud
|
||||||
|
drop constraint project_funding_volume_aud_pkey,
|
||||||
|
add primary key (rev, object_id, locale);
|
||||||
Loading…
Reference in New Issue