mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
DB/Misc: Cleaning db of unused/obsolete stuff
This commit is contained in:
6
sql/updates/world/2013_06_18_00_world_misc.sql
Normal file
6
sql/updates/world/2013_06_18_00_world_misc.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- Cleaning the database of unused/obsolete data
|
||||
DELETE FROM `game_event_creature` WHERE `guid` NOT IN (SELECT `guid` FROM `creature`);
|
||||
DELETE FROM `game_event_gameobject` WHERE `guid` NOT IN (SELECT `guid` FROM `gameobject`);
|
||||
DELETE FROM `pool_pool` WHERE `mother_pool` NOT IN (SELECT `entry` FROM `pool_template`);
|
||||
DELETE FROM `game_event_creature` WHERE `guid` IN (40267,40470,40471);
|
||||
DELETE FROM `creature` WHERE `id` = 18963; -- Removed from game arround wow 2.2.x
|
||||
Reference in New Issue
Block a user