Update drop_9.sql

This commit is contained in:
rmj26 2022-05-22 22:01:23 +01:00 committed by GitHub
parent 84909c4e25
commit fffc4e4c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -9,8 +9,6 @@ DROP CONSTRAINT ck_game_name;
ALTER TABLE rounds ALTER TABLE rounds
DROP CONSTRAINT ck_achievement_name; DROP CONSTRAINT ck_achievement_name;
ALTER TABLE prizes
DROP CONSTRAINT ck_achievement_name;
ALTER TABLE sponsors ALTER TABLE sponsors
DROP CONSTRAINT ck_sponsor_type DROP CONSTRAINT ck_sponsor_type
@ -36,8 +34,7 @@ DROP CONSTRAINT ck_player_name;
--foreign key --foreign key
ALTER TABLE game_participants ALTER TABLE game_participants
DROP CONSTRAINT fk_gp_games DROP CONSTRAINT fk_gp_games;
DROP CONSTRAINT fk_gp_tournament_participants;
ALTER TABLE statistics ALTER TABLE statistics
DROP CONSTRAINT fk_s_games; DROP CONSTRAINT fk_s_games;
@ -131,7 +128,7 @@ DROP SEQUENCE seq_sponsors;
DROP SEQUENCE seq_tournament_participants; DROP SEQUENCE seq_tournament_participants;
DROP SEQUENCE seq_tournament; DROP SEQUENCE seq_tournaments;
DROP SEQUENCE seq_categories; DROP SEQUENCE seq_categories;