Skip to content

Commit

Permalink
Removing unique constraints on tables with foreign key constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicwest committed Aug 31, 2023
1 parent 4c83d4d commit 5d6832a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
ALTER TABLE gap_user ADD CONSTRAINT unique_user_sub UNIQUE (user_sub);
ALTER TABLE grant_applicant ADD CONSTRAINT unique_user_id UNIQUE (user_id);
ALTER TABLE grant_admin ADD CONSTRAINT unique_user_id UNIQUE (user_id);
ALTER TABLE grant_applicant_organisation_profile ADD CONSTRAINT unique_applicant_id UNIQUE (applicant_id);
ALTER TABLE grant_applicant ADD CONSTRAINT unique_user_id UNIQUE (user_id);

0 comments on commit 5d6832a

Please sign in to comment.