From ac69918f8f1bfe327270293b06af690a7d6429f5 Mon Sep 17 00:00:00 2001 From: AnonXS Date: Mon, 24 Oct 2022 14:12:09 +0200 Subject: [PATCH] Revert "[0569] Add COLUMN PlayerSkinReflootId to fix db build" ERROR 1060 (42S21) at line 3: Duplicate column name 'PlayerSkinReflootId' ERROR 1054 (42S22) at line 51: Unknown column 'PlayerSkinReflootId' in 'field list' ERROR 1054 (42S22) at line 17: Unknown column 'required_s2453_01_mangos_eai_dbguid_support' in 'db_version' This reverts commit 6fe973ee1704d745c5d1800d5b594035c8e7fee1. --- Updates/0569_CDB-4051_battleground_skin_loot.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', ''),