From 55ef7ce5a33a7212779b68060c1f452559914dda Mon Sep 17 00:00:00 2001 From: Kosiak Date: Fri, 18 Mar 2022 21:20:34 +0000 Subject: [PATCH] fix(DB/smart_scripts): The Restless Souls (#10989) --- .../pending_db_world/rev_1647107182833454100.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1647107182833454100.sql diff --git a/data/sql/updates/pending_db_world/rev_1647107182833454100.sql b/data/sql/updates/pending_db_world/rev_1647107182833454100.sql new file mode 100644 index 0000000000000..f4600266e7886 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1647107182833454100.sql @@ -0,0 +1,12 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1647107182833454100'); + +UPDATE `smart_scripts` SET `id` = 0 WHERE `entryorguid` = 11122 AND `action_type` = 11; +UPDATE `smart_scripts` SET `link` = 1 WHERE `entryorguid` = 11122 AND `action_type` = 11; +UPDATE `smart_scripts` SET `id` = 1 WHERE `entryorguid` = 11122 AND `action_type` = 36; +UPDATE `smart_scripts` SET `link` = 2 WHERE `entryorguid` = 11122 AND `action_type` = 36; +UPDATE `smart_scripts` SET `id` = 2 WHERE `entryorguid` = 11122 AND `action_type` = 29; +UPDATE `smart_scripts` SET `link` = 3 WHERE `entryorguid` = 11122 AND `action_type` = 29; +UPDATE `smart_scripts` SET `id` = 3 WHERE `entryorguid` = 11122 AND `action_type` = 41; +UPDATE `smart_scripts` SET `link` = 4 WHERE `entryorguid` = 11122 AND `action_type` = 41; +UPDATE `smart_scripts` SET `id` = 4 WHERE `entryorguid` = 11122 AND `action_type` = 33; +UPDATE `smart_scripts` SET `link` = 0 WHERE `entryorguid` = 11122 AND `action_type` = 33;