Commit 324f122
committed
fix: enforce match_mode guard and drop leftover e_auto_cancel_mode
- Add early-return in schedule_tournament_match when match_mode = 'admin'
to prevent auto-scheduling of admin-only matches
- Add cleanup migration to drop e_auto_cancel_mode table from prior dev runs1 parent a46d305 commit 324f122
3 files changed
Lines changed: 17 additions & 0 deletions
File tree
- hasura
- functions/tournaments
- migrations/default/1772556087000_drop_e_auto_cancel_mode
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
58 | 70 | | |
59 | 71 | | |
60 | 72 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments