diff options
author | Brian <runningnak3d@gmail.com> | 2009-12-11 18:44:09 -0700 |
---|---|---|
committer | Brian <runningnak3d@gmail.com> | 2009-12-11 18:44:09 -0700 |
commit | d59ff8190f5316d4711087ad1c3469285de08b19 (patch) | |
tree | 789f6b216e8662f59f8afda9f762dcce04691257 | |
parent | cca31e558f944aaed5bddcfbe755bca273f402e6 (diff) |
* Adding the update SQL for the last commit
* Thanks Aokreomes
--HG--
branch : trunk
-rw-r--r-- | sql/updates/6486_world_item_template.sql | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/6486_world_item_template.sql b/sql/updates/6486_world_item_template.sql new file mode 100644 index 00000000000..91c87833694 --- /dev/null +++ b/sql/updates/6486_world_item_template.sql @@ -0,0 +1,11 @@ +-- item_template update from Malcrom +-- Alter column AllowableClass to allowed max value signed. +ALTER TABLE `item_template` CHANGE `AllowableClass` `AllowableClasstemp` MEDIUMINT(9); +ALTER TABLE `item_template` ADD `AllowableClass` INT SIGNED NOT NULL AFTER `InventoryType`; +UPDATE `item_template` SET `AllowableClass` = `AllowableClasstemp`; +ALTER TABLE `item_template` DROP `AllowableClasstemp`; +-- Alter column AllowableRace to allowed max value signed. +ALTER TABLE `item_template` CHANGE `AllowableRace` `AllowableRacetemp` MEDIUMINT(9); +ALTER TABLE `item_template` ADD `AllowableRace` INT SIGNED NOT NULL AFTER `AllowableClass`; +UPDATE `item_template` SET `AllowableRace` = `AllowableRacetemp`; +ALTER TABLE `item_template` DROP `AllowableRacetemp`; |