aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-09-19 10:59:04 +0200
committerShauren <shauren.trinity@gmail.com>2023-09-19 10:59:04 +0200
commit47fc3cb852324119e81c01015b7cc4f39d43e559 (patch)
tree033cdd8511b6b5e46a9fdbb3a847ce43f3179180 /sql
parentfa77874ffba8c0ce92d6d01414bd3d164506cfa5 (diff)
Core/Instances: Kill instance_encounters table, it is no longer neccessary
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2023_09_19_01_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/master/2023_09_19_01_world.sql b/sql/updates/world/master/2023_09_19_01_world.sql
new file mode 100644
index 00000000000..d82316fb5f0
--- /dev/null
+++ b/sql/updates/world/master/2023_09_19_01_world.sql
@@ -0,0 +1,5 @@
+UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x10000000 WHERE `entry` IN (SELECT `creditEntry` FROM `instance_encounters` WHERE `creditType`=0);
+
+DROP TABLE IF EXISTS `instance_encounters`;
+
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_dungeon_credit';