Initialize project with basic structure, including Docker configuration, backend and frontend setup, environment configuration, and essential files for development.
This commit is contained in:
9
backend/migrations/003_player_preferences.sql
Normal file
9
backend/migrations/003_player_preferences.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- +mixmaker Up
|
||||
ALTER TABLE players
|
||||
ADD COLUMN IF NOT EXISTS preferred_roles jsonb NOT NULL DEFAULT '[]'::jsonb,
|
||||
ADD COLUMN IF NOT EXISTS preferred_player_ids jsonb NOT NULL DEFAULT '[]'::jsonb;
|
||||
|
||||
-- +mixmaker Down
|
||||
ALTER TABLE players
|
||||
DROP COLUMN IF EXISTS preferred_player_ids,
|
||||
DROP COLUMN IF EXISTS preferred_roles;
|
||||
Reference in New Issue
Block a user