From 6e79c807b242b2ff02f42fbc752dbcfbd13996e7 Mon Sep 17 00:00:00 2001 From: mpfans Date: Sun, 11 Dec 2022 10:55:34 +0800 Subject: [PATCH] fix(DB/creature): pr13832 delete the wrong table (#13982) * fix pr13832 * Delete the wrong table. It should be `creature_loot_template` * Update rev_1669689837407665196.sql --- data/sql/updates/pending_db_world/rev_1669689837407665196.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1669689837407665196.sql diff --git a/data/sql/updates/pending_db_world/rev_1669689837407665196.sql b/data/sql/updates/pending_db_world/rev_1669689837407665196.sql new file mode 100644 index 000000000..371c28651 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1669689837407665196.sql @@ -0,0 +1,4 @@ +-- fix pr13832 +-- https://github.com/azerothcore/azerothcore-wotlk/commit/c791e2080e287e052fcaf717e3106977c822d28f +DELETE FROM `creature_loot_template` WHERE `Entry` IN (17917, 20627) AND (`Item` IN (13926)); +UPDATE `creature_template` SET `lootid` = 0 WHERE (`entry` IN (17917, 20627));