From 08473537fcea7e14b049b0fba86d5f49bed01f2c Mon Sep 17 00:00:00 2001
From: ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Date: Sat, 19 May 2007 09:46:11 +0000
Subject: * 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
---
 sql-files/upgrade_svn10575_log.sql | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 sql-files/upgrade_svn10575_log.sql

(limited to 'sql-files/upgrade_svn10575_log.sql')

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;
-- 
cgit v1.2.3-70-g09d2

