chore(DB): import pending files

Referenced commit(s): 8d803334eb
This commit is contained in:
AzerothCoreBot
2023-08-12 17:55:45 +00:00
parent 8d803334eb
commit 986767a822

View File

@@ -0,0 +1,10 @@
-- DB update 2023_08_12_01 -> 2023_08_12_02
--
ALTER TABLE `smart_scripts`
ADD COLUMN `event_param6` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `event_param5`;
UPDATE `smart_scripts` SET `event_param6` = `event_param5` WHERE `event_type` = 106 AND `source_type` = 0;
UPDATE `smart_scripts` SET `event_param5` = 0 WHERE `event_type` = 106 AND `source_type` = 0;
UPDATE `smart_scripts` SET `event_param6` = `event_param5` WHERE `event_type` = 105 AND `source_type` = 0;
UPDATE `smart_scripts` SET `event_param5` = 0 WHERE `event_type` = 105 AND `source_type` = 0;