diff --git a/migrations/V135__add_decapitation_victory_condition.sql b/migrations/V135__add_decapitation_victory_condition.sql new file mode 100644 index 00000000..0308fa82 --- /dev/null +++ b/migrations/V135__add_decapitation_victory_condition.sql @@ -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 enum = '0'; +UPDATE game_stats set `gameType` = 'DOMINATION' where enum = '1'; +UPDATE game_stats set `gameType` = 'ERADICATION' where enum = '2'; +UPDATE game_stats set `gameType` = 'DECAPITATION' where enum = '3'; + +ALTER TABLE game_stats + MODIFY `gameType` enum( + 'DEMORALIZATION', + 'DOMINATION', + 'ERADICATION', + 'SANDBOX', + 'DECAPITATION' + ) NOT NULL,