diff options
| author | Brian <runningnak3d@gmail.com> | 2009-12-20 09:27:44 -0700 |
|---|---|---|
| committer | Brian <runningnak3d@gmail.com> | 2009-12-20 09:27:44 -0700 |
| commit | ea785c9788203b4a7d57ae37f21c45ff0c7a4167 (patch) | |
| tree | 96e7e85ca557e1cf96087dc6892b232683a9b3c2 /sql/updates | |
| parent | 7c9f6b4bc37eec7b94aaba1cd8912bd5c0054e2a (diff) | |
* Added support for GO type 6 (TRAP) to have a negative value in data6
* This will allow proper data to be used
--HG--
branch : trunk
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/6645_world_gameobject_template.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/6645_world_gameobject_template.sql b/sql/updates/6645_world_gameobject_template.sql new file mode 100644 index 00000000000..aca6bc97e11 --- /dev/null +++ b/sql/updates/6645_world_gameobject_template.sql @@ -0,0 +1,5 @@ +-- Alter data6 column in gameobject_template to allow signed value +ALTER TABLE `gameobject_template` CHANGE `data6` `data6temp` INT(10); +ALTER TABLE `gameobject_template` ADD `data6` INT SIGNED NOT NULL AFTER `data5`; +UPDATE `gameobject_template` SET `data6` = `data6temp`; +ALTER TABLE `gameobject_template` DROP `data6temp`; |
