From 7a5529eb58daad9216416c9c632543b1a931ce1f Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 7 Jul 2020 13:56:16 +0200 Subject: Core/Events: refactored battleground holiday assignments. Instead of going with shitty bitmasks we now accept plain battleground ids instead (cherry picked from commit 8a82403400ef49415e14530f4b55d55ef38bc74e) --- .../world/master/2022_01_21_31_world_2020_07_07_00_world.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sql/updates/world/master/2022_01_21_31_world_2020_07_07_00_world.sql (limited to 'sql/updates') diff --git a/sql/updates/world/master/2022_01_21_31_world_2020_07_07_00_world.sql b/sql/updates/world/master/2022_01_21_31_world_2020_07_07_00_world.sql new file mode 100644 index 00000000000..c4fd7462fe0 --- /dev/null +++ b/sql/updates/world/master/2022_01_21_31_world_2020_07_07_00_world.sql @@ -0,0 +1,12 @@ +ALTER TABLE `game_event_battleground_holiday` + CHANGE `eventEntry` `EventEntry` TINYINT(3) UNSIGNED NOT NULL COMMENT 'game_event EventEntry identifier', + CHANGE `bgflag` `BattlegroundID` INT(3) UNSIGNED DEFAULT 0 NOT NULL; + +DELETE FROM `game_event_battleground_holiday`; +-- INSERT INTO `game_event_battleground_holiday` (`EventEntry`, `BattlegroundID`) VALUES +-- (18, 1), +-- (19, 2), +-- (20, 3), +-- (21, 7), +-- (53, 9), +-- (54, 30); -- cgit v1.2.3