mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 19:37:07 +00:00
* 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
13 lines
458 B
SQL
13 lines
458 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_9622_01_mangos_gameobject required_9636_01_mangos_item_template bit;
|
|
|
|
ALTER TABLE item_template
|
|
CHANGE COLUMN NonConsumable ExtraFlags tinyint(1) UNSIGNED DEFAULT '0' NOT NULL;
|
|
|
|
UPDATE item_template
|
|
SET ExtraFlags = ExtraFlags | 0x2 WHERE Duration < 0 ;
|
|
|
|
UPDATE item_template
|
|
SET Duration = abs(Duration);
|
|
|
|
ALTER TABLE item_template
|
|
CHANGE COLUMN Duration Duration int(11) UNSIGNED DEFAULT '0' NOT NULL;
|