aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/3.3.5/2021_10_04_02_world_335.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_10_04_02_world_335.sql b/sql/updates/world/3.3.5/2021_10_04_02_world_335.sql
new file mode 100644
index 00000000000..72b57300516
--- /dev/null
+++ b/sql/updates/world/3.3.5/2021_10_04_02_world_335.sql
@@ -0,0 +1,7 @@
+--
+UPDATE `gameobject` a INNER JOIN `gameobject_addon` b ON a.`guid` = b.`guid` SET
+`rotation0` = `parent_rotation0`,
+`rotation1` = `parent_rotation1`,
+`rotation2` = `parent_rotation2`,
+`rotation3` = `parent_rotation3` WHERE a.`id` IN (19569,19570,19571);
+DELETE FROM `gameobject_addon` WHERE `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (19569,19570,19571));