From 185f17558d90439c87cc720414b7a37b255d0989 Mon Sep 17 00:00:00 2001 From: Askaholic Date: Fri, 12 Jan 2024 00:43:07 -0500 Subject: [PATCH] Add enum value for decapitation game mode --- .../V135__add_decapitation_victory_condition.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 migrations/V135__add_decapitation_victory_condition.sql diff --git a/migrations/V135__add_decapitation_victory_condition.sql b/migrations/V135__add_decapitation_victory_condition.sql new file mode 100644 index 00000000..3d67223b --- /dev/null +++ b/migrations/V135__add_decapitation_victory_condition.sql @@ -0,0 +1,12 @@ +-- Existing victory conditions (gameType) +-- +-- DEMORALIZATION = 0 +-- DOMINATION = 1 +-- ERADICATION = 2 +-- SANDBOX = 3 +-- +-- New victory condition +-- +-- DECAPITATION = 4 +ALTER TABLE game_stats + CHANGE `gameType` `gameType` enum('0','1','2','3','4') NOT NULL;