server/sql/updates/0.16/09509_01_mangos_item_template.sql
VladimirMangos cd5d598bd6 [10001] Rename current version sql updates (0.16/root dir) to 5 digits format rev.
* order guards not affected in sql updates so this not affect sql guards work.
* TO DEVS: in next sql update commit please check carefully generated by git_is -s
  sql guards for correctness
2010-05-28 23:48:50 +04:00

7 lines
311 B
SQL

ALTER TABLE db_version CHANGE COLUMN required_9482_01_mangos_spell_proc_event required_9509_01_mangos_item_template bit;
alter table item_template
add column NonConsumable tinyint(1) UNSIGNED DEFAULT '0' NOT NULL after maxMoneyLoot;
update item_template
set NonConsumable = 1 WHERE ItemLimitCategory = 4;