59. Link origin to periods
This commit is contained in:
parent
264fdb5888
commit
12f0ec0ae4
@ -407,6 +407,8 @@ FROM import.periodes ip WHERE acp.id = ip.period_id;
|
|||||||
--
|
--
|
||||||
|
|
||||||
-- Undo 59.
|
-- Undo 59.
|
||||||
|
UPDATE chill_person_accompanying_period acp SET origin_id = null FROM import.periodes ip WHERE ip.period_id = acp.id;
|
||||||
|
|
||||||
-- Undo 58.
|
-- Undo 58.
|
||||||
DELETE FROM accompanying_periods_scopes acs USING import.periodes ip WHERE acs.accompanying_period_id = ip.period_id;
|
DELETE FROM accompanying_periods_scopes acs USING import.periodes ip WHERE acs.accompanying_period_id = ip.period_id;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user