summaryrefslogtreecommitdiff
path: root/sql-files/upgrade_svn10575_log.sql
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 09:46:11 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 09:46:11 +0000
commit08473537fcea7e14b049b0fba86d5f49bed01f2c (patch)
tree9387e934418218dc63ac21b8518be1a0cfa7bab2 /sql-files/upgrade_svn10575_log.sql
parent2b6eceb685dd222e0b84defa0f2c415c4adefd43 (diff)
downloadhercules-08473537fcea7e14b049b0fba86d5f49bed01f2c.tar.gz
hercules-08473537fcea7e14b049b0fba86d5f49bed01f2c.tar.bz2
hercules-08473537fcea7e14b049b0fba86d5f49bed01f2c.tar.xz
hercules-08473537fcea7e14b049b0fba86d5f49bed01f2c.zip
* SQL files fixup
- extended convert_engine_myisam and added innodb version - changed the max. email length to 39 (to match value in source code) - added comment for storage/guild storage picklog entries - changed SETs to ENUMs, which is the proper data type in logs - fixed incorrect defaults, shortened mapname lengths to 11 - use upgrade_svn10575_*.sql to apply changes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10575 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files/upgrade_svn10575_log.sql')
-rw-r--r--sql-files/upgrade_svn10575_log.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql-files/upgrade_svn10575_log.sql b/sql-files/upgrade_svn10575_log.sql
new file mode 100644
index 000000000..d6b4dd680
--- /dev/null
+++ b/sql-files/upgrade_svn10575_log.sql
@@ -0,0 +1,11 @@
+ALTER TABLE `picklog` CHANGE `type` `type` ENUM( 'M', 'P', 'L', 'T', 'V', 'S', 'N', 'C', 'A', 'R', 'G' ) NOT NULL DEFAULT 'P';
+ALTER TABLE `zenylog` CHANGE `type` `type` ENUM( 'M', 'T', 'V', 'S', 'N', 'A' ) NOT NULL DEFAULT 'S';
+ALTER TABLE `chatlog` CHANGE `type` `type` ENUM( 'W', 'P', 'G' ) NOT NULL DEFAULT 'W';
+
+ALTER TABLE `picklog` CHANGE `map` `map` VARCHAR( 11 ) NOT NULL;
+ALTER TABLE `zenylog` CHANGE `map` `map` VARCHAR( 11 ) NOT NULL;
+ALTER TABLE `branchlog` CHANGE `map` `map` VARCHAR( 11 ) NOT NULL;
+ALTER TABLE `mvplog` CHANGE `map` `map` VARCHAR( 11 ) NOT NULL;
+ALTER TABLE `atcommandlog` CHANGE `map` `map` VARCHAR( 11 ) NOT NULL;
+ALTER TABLE `npclog` CHANGE `map` `map` VARCHAR( 11 ) NOT NULL;
+ALTER TABLE `chatlog` CHANGE `src_map` `src_map` VARCHAR( 11 ) NOT NULL;