Skip to content

Commit bc78ae1

Browse files
committed
feat: add Paused to tournament status enum
1 parent 46ab8d1 commit bc78ae1

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

hasura/enums/tournament-statuses.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ insert into e_tournament_status ("value", "description") values
77
('Live', 'Live'),
88
('Cancelled', 'Cancelled'),
99
('CancelledMinTeams', 'Cancelled because it did not meet minimum number of teams'),
10-
('Finished', 'Finished')
10+
('Finished', 'Finished'),
11+
('Paused', 'Paused')
1112
on conflict(value) do update set "description" = EXCLUDED."description"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DELETE FROM e_tournament_status WHERE value = 'Paused';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
INSERT INTO e_tournament_status ("value", "description") VALUES
2+
('Paused', 'Paused')
3+
ON CONFLICT(value) DO UPDATE SET "description" = EXCLUDED."description";

0 commit comments

Comments
 (0)