Skip to content

Commit

Permalink
migration make challenge unique
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriptikz committed Aug 16, 2024
1 parent 0a147b6 commit 5bcb0e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE challenges DROP INDEX uc_challenges
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE challenges ADD CONSTRAINT uc_challenges UNIQUE (challenge)

0 comments on commit 5bcb0e8

Please sign in to comment.