Fixing migration problem
parent
e2b59d27ee
commit
e9d9fdcbb9
|
|
@ -18,7 +18,6 @@ create table CCM_CMS.Person_PersonName_AUD (
|
||||||
);
|
);
|
||||||
insert into ccm_cms.person_personname_aud (rev, person_id, person_name_id, revtype, revend) (select rev, person_id, person_name_id, revtype, revend from ccm_cms.person_names_aud);
|
insert into ccm_cms.person_personname_aud (rev, person_id, person_name_id, revtype, revend) (select rev, person_id, person_name_id, revtype, revend from ccm_cms.person_names_aud);
|
||||||
|
|
||||||
alter table ccm_cms.person_names_aud drop column person_id;
|
|
||||||
alter table ccm_cms.person_names_aud drop column person_id;
|
alter table ccm_cms.person_names_aud drop column person_id;
|
||||||
|
|
||||||
alter table CCM_CMS.Person_PersonName_AUD
|
alter table CCM_CMS.Person_PersonName_AUD
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
alter table ccm_cms.person_names_aud drop column person_id;
|
||||||
|
|
@ -18,7 +18,6 @@ create table CCM_CMS.Person_PersonName_AUD (
|
||||||
);
|
);
|
||||||
insert into ccm_cms.person_personname_aud (rev, person_id, person_name_id, revtype, revend) (select rev, person_id, person_name_id, revtype, revend from ccm_cms.person_names_aud);
|
insert into ccm_cms.person_personname_aud (rev, person_id, person_name_id, revtype, revend) (select rev, person_id, person_name_id, revtype, revend from ccm_cms.person_names_aud);
|
||||||
|
|
||||||
alter table ccm_cms.person_names drop column person_id;
|
|
||||||
alter table ccm_cms.person_names_aud drop column person_id;
|
alter table ccm_cms.person_names_aud drop column person_id;
|
||||||
|
|
||||||
alter table CCM_CMS.Person_PersonName_AUD
|
alter table CCM_CMS.Person_PersonName_AUD
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
alter table ccm_cms.person_names_aud drop column person_id;
|
||||||
Loading…
Reference in New Issue