server/sql/updates/12216_10_mangos_reference_loot_template.sql
Yaki Khadafi ef0f63e05b [12216] Implement currency loot and update loot opcodes.
Now negative item value in loot tables represent currency id.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:34 +00:00

4 lines
343 B
SQL

ALTER TABLE db_version CHANGE COLUMN required_12216_09_mangos_prospecting_loot_template required_12216_10_mangos_reference_loot_template bit;
ALTER TABLE `reference_loot_template` MODIFY COLUMN `item` mediumint(8) NOT NULL DEFAULT '0';
ALTER TABLE `reference_loot_template` MODIFY COLUMN `maxcount` smallint(5) unsigned NOT NULL DEFAULT '1';