Add participant creation functionality to event API, including backend service and database integration. Update frontend to support participant registration and enhance UI for displaying registered players.
Some checks failed
CI / backend (push) Has been cancelled
CI / frontend (push) Has been cancelled
CI / compose (push) Has been cancelled

This commit is contained in:
2026-07-19 01:21:00 +03:00
parent d85d5ffdc0
commit 59c0bdb345
9 changed files with 217 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
-- +mixmaker Up
ALTER TABLE players
ALTER COLUMN account_id DROP NOT NULL;
-- +mixmaker Down
DELETE FROM rsvps WHERE player_id IN (SELECT id FROM players WHERE account_id IS NULL);
DELETE FROM players WHERE account_id IS NULL;
ALTER TABLE players
ALTER COLUMN account_id SET NOT NULL;