diff options
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`; |
