Skip to content

Commit

Permalink
Add enum value for decapitation game mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Askaholic authored and Brutus5000 committed Feb 2, 2025
1 parent 2805da1 commit 355d3cb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions migrations/V136__add_decapitation_victory_condition.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ALTER TABLE game_stats
MODIFY `gameType` enum(
'0',
'1',
'2',
'3',
'DEMORALIZATION',
'DOMINATION',
'ERADICATION',
'SANDBOX',
'DECAPITATION'
) NOT NULL;

UPDATE game_stats set `gameType` = 'DEMORALIZATION' where `gameType` = '0';
UPDATE game_stats set `gameType` = 'DOMINATION' where `gameType` = '1';
UPDATE game_stats set `gameType` = 'ERADICATION' where `gameType` = '2';
UPDATE game_stats set `gameType` = 'SANDBOX' where `gameType` = '3';

ALTER TABLE game_stats
MODIFY `gameType` enum(
'DEMORALIZATION',
'DOMINATION',
'ERADICATION',
'SANDBOX',
'DECAPITATION'
) NOT NULL;

0 comments on commit 355d3cb

Please sign in to comment.