server/sql/updates/0.11/5664_mangos.sql

6 lines
No EOL
297 B
SQL

ALTER TABLE npc_vendor
ADD ExtendedCost mediumint(8) unsigned NOT NULL default '0';
UPDATE npc_vendor,item_template SET npc_vendor.ExtendedCost = item_template.ExtendedCost WHERE npc_vendor.item = item_template.entry;
ALTER TABLE item_template
DROP ExtendedCost,
DROP CondExtendedCost;