mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
DB/SQL: Better queries deletion, thanks Dasio for pointing it out
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
DELETE FROM `disables` WHERE `entry`=7598;
|
||||
DELETE FROM `disables` WHERE `entry`=7598 AND `sourceType`=4;
|
||||
DELETE FROM `achievement_criteria_data` WHERE `criteria_id`=7598 AND `type`=11;
|
||||
INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`)
|
||||
VALUES
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DELETE FROM `disables` WHERE `entry`=7587;
|
||||
DELETE FROM `disables` WHERE `entry`=7587 AND `sourceType`=4;
|
||||
DELETE FROM `achievement_criteria_data` WHERE `criteria_id`=7587 AND `type`=11;
|
||||
INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`)
|
||||
VALUES
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DELETE FROM `disables` WHERE `entry` IN (7264,7548);
|
||||
DELETE FROM `disables` WHERE `entry` IN (7264,7548) AND `sourceType`=4;
|
||||
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (7264,7548) AND `type`=11;
|
||||
INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`)
|
||||
VALUES
|
||||
|
||||
Reference in New Issue
Block a user