diff --git a/Updates/0569_CDB-4051_battleground_skin_loot.sql b/Updates/0569_CDB-4051_battleground_skin_loot.sql index b03888732..abbbfa300 100644 --- a/Updates/0569_CDB-4051_battleground_skin_loot.sql +++ b/Updates/0569_CDB-4051_battleground_skin_loot.sql @@ -14,7 +14,7 @@ -- (3028,-1,3020,3022,0,0,0,''); -- https://github.com/cmangos/classic-db/commit/b918b3917d1dd1f277d4d3a4b585cecba739a789#diff-e92a3796e94e2cac58fa48ab09514b0ff014d0e98a2e1621812196867adcbbbaR4 -ALTER TABLE battleground_template ADD COLUMN PlayerSkinReflootId MEDIUMINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'reference_loot_template entry'; +ALTER TABLE battleground_template ADD COLUMN IF NOT EXISTS PlayerSkinReflootId MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'reference_loot_template entry'; INSERT INTO reference_loot_template(entry, item, ChanceOrQuestChance, groupid, mincountOrRef, maxcount, condition_id, comments) VALUES -- ('1', '17502', '75', '0', '1', '1', '3023', ''),