mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
You can still used its (for example to upgrade DB from 0.12 state) but its will not included in installed sql updates list at Unix/Linus for speedup 'make install'.
14 lines
490 B
SQL
14 lines
490 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_7002_01_mangos_spell_chain required_7015_01_mangos_item_template bit;
|
|
|
|
UPDATE item_template
|
|
SET maxcount = 0 WHERE maxcount > 32000;
|
|
|
|
UPDATE item_template
|
|
SET stackable = 0 WHERE stackable > 32000;
|
|
|
|
ALTER TABLE item_template
|
|
CHANGE COLUMN maxcount maxcount smallint(5) NOT NULL default '-1',
|
|
CHANGE COLUMN stackable stackable smallint(5) NOT NULL default '1';
|
|
|
|
UPDATE item_template
|
|
SET stackable = -1 WHERE stackable = 0;
|