Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request eesast#162 from FranGuam/dev
Browse files Browse the repository at this point in the history
feat(team): add `team_switch` field in `contest`
  • Loading branch information
FranGuam authored Apr 1, 2024
2 parents 59eb5e1 + 38eb9c9 commit 7d0c01a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."contest" add column "team_switch" boolean
-- not null default 'false';
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table "public"."contest" add column "team_switch" boolean
not null default 'false';
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table "public"."contest_team" drop constraint "contest_team_invited_code_key";
alter table "public"."contest_team" alter column "invited_code" drop not null;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table "public"."contest_team" alter column "invited_code" set not null;
alter table "public"."contest_team" add constraint "contest_team_invited_code_key" unique ("invited_code");

0 comments on commit 7d0c01a

Please sign in to comment.