From 90a39c0dbc292589e78d7b431b7d82a955c80524 Mon Sep 17 00:00:00 2001 From: Kirill Riman Date: Sat, 12 Oct 2024 20:21:14 +0300 Subject: [PATCH] #319 adding 3 columns to matchmaker_queue_map_pool table --- migrations/V135__add_veto_fields_to_matchmaker_queue_map_pool | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 migrations/V135__add_veto_fields_to_matchmaker_queue_map_pool diff --git a/migrations/V135__add_veto_fields_to_matchmaker_queue_map_pool b/migrations/V135__add_veto_fields_to_matchmaker_queue_map_pool new file mode 100644 index 00000000..e55702ae --- /dev/null +++ b/migrations/V135__add_veto_fields_to_matchmaker_queue_map_pool @@ -0,0 +1,4 @@ +ALTER TABLE matchmaker_queue_map_pool + ADD COLUMN veto_tokens_per_player TINYINT UNSIGNED DEFAULT 0 NOT NULL, + ADD COLUMN max_tokens_per_map TINYINT UNSIGNED DEFAULT 0 NOT NULL, + ADD COLUMN minimal_maps_allowed FLOAT DEFAULT 1 NOT NULL CHECK (minimal_maps_allowed >= 1); \ No newline at end of file