summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-15 22:48:22 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-15 22:48:22 +0000
commit07a0d9df45cd79bc0b3d4ae09f63ae9ca2522af6 (patch)
tree11bbaa70ae46a1101598c52bd77f5b7e6f786d42
parent94206ac80944a92a0ba7007501358f341e6bfd7c (diff)
downloadhercules-07a0d9df45cd79bc0b3d4ae09f63ae9ca2522af6.tar.gz
hercules-07a0d9df45cd79bc0b3d4ae09f63ae9ca2522af6.tar.bz2
hercules-07a0d9df45cd79bc0b3d4ae09f63ae9ca2522af6.tar.xz
hercules-07a0d9df45cd79bc0b3d4ae09f63ae9ca2522af6.zip
Corrected the `char` table's 'manner' column type to match the type used by the server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13583 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--sql-files/main.sql2
-rw-r--r--sql-files/upgrade_svn13583.sql1
2 files changed, 2 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index 472f95edd..3f7fcdbd2 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -75,7 +75,7 @@ CREATE TABLE IF NOT EXISTS `char` (
`skill_point` int(11) unsigned NOT NULL default '0',
`option` int(11) NOT NULL default '0',
`karma` tinyint(3) NOT NULL default '0',
- `manner` tinyint(3) NOT NULL default '0',
+ `manner` smallint(6) NOT NULL default '0',
`party_id` int(11) unsigned NOT NULL default '0',
`guild_id` int(11) unsigned NOT NULL default '0',
`pet_id` int(11) unsigned NOT NULL default '0',
diff --git a/sql-files/upgrade_svn13583.sql b/sql-files/upgrade_svn13583.sql
new file mode 100644
index 000000000..b16579cd9
--- /dev/null
+++ b/sql-files/upgrade_svn13583.sql
@@ -0,0 +1 @@
+ALTER TABLE `char` CHANGE `manner` `manner` SMALLINT ( 6 ) NOT NULL DEFAULT '0'; \ No newline at end of file