final task 2 solution

This commit is contained in:
Krzysztof Rudnicki 2023-01-04 21:02:36 +01:00
parent bda03f67a3
commit ae9265edee
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,4 @@
-- RUN NEXT 3 LINES BEFORE RUNNING POPULATE SCRIPT
alter table manager
DISABLE constraint manager_club_fk;
@ -5,14 +6,16 @@ alter table club
DISABLE constraint club_manager_fk;
alter table club
DISABLE constraint club_competition_fk;
-- RUN 3 LINES BEFORE RUNNING POPULATE SCRIPT
-- RUN NEXT 3 LINES AFTER RUNNING POPULATE SCRIPT
alter table manager
ENABLE constraint manager_club_fk;
alter table club
ENABLE constraint club_manager_fk;
alter table club
ENABLE constraint club_competition_fk;
ENABLE constraint club_competition_fk;
-- RUN LAST 3 LINES AFTER RUNNING POPULATE SCRIPT