aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaymoira <none@none>2009-01-21 20:44:49 +0100
committerBlaymoira <none@none>2009-01-21 20:44:49 +0100
commit148192eca1c60b95d2b9e75520e0d0ee8d4cd6fd (patch)
tree4a0bbe8a937719e2a3d944af10d9851ded24a651
parente0b527be8ac4723a14b2cd5623aa511681f11775 (diff)
*Allow higher value than 255 in emote fields
--HG-- branch : trunk
-rw-r--r--sql/updates/940_world_scripts.sql3
-rw-r--r--sql/updates/CMakeLists.txt1
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/940_world_scripts.sql b/sql/updates/940_world_scripts.sql
new file mode 100644
index 00000000000..dca62af213d
--- /dev/null
+++ b/sql/updates/940_world_scripts.sql
@@ -0,0 +1,3 @@
+ALTER TABLE custom_texts CHANGE COLUMN emote emote smallint(5) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE eventai_texts CHANGE COLUMN emote emote smallint(5) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE script_texts CHANGE COLUMN emote emote smallint(5) unsigned NOT NULL DEFAULT '0'; \ No newline at end of file
diff --git a/sql/updates/CMakeLists.txt b/sql/updates/CMakeLists.txt
index e8130764307..760512dda5e 100644
--- a/sql/updates/CMakeLists.txt
+++ b/sql/updates/CMakeLists.txt
@@ -145,4 +145,5 @@ INSTALL(FILES
930_characters.sql
933_world_scripts.sql
935_world_scripts.sql
+940_world_scripts.sql
DESTINATION share/trinity/sql/updates)