server/sql/updates/10679_02_mangos_creature_template.sql
VladimirMangos 0bf8b0aa79 [10679] New table npc_vendor_template for comon item data for diff vendors.
In vendor list show own vedor items + template ites if any.
Vendor template item lists selected by id stored in creature_template.vendor_id
2010-11-04 20:22:47 +03:00

4 lines
247 B
SQL

ALTER TABLE db_version CHANGE COLUMN required_10679_01_mangos_npc_vendor_template required_10679_02_mangos_creature_template bit;
ALTER TABLE creature_template
ADD COLUMN vendor_id mediumint(8) unsigned NOT NULL default '0' AFTER equipment_id;