summaryrefslogtreecommitdiff
path: root/sql-files/convert_engine_innodb.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/convert_engine_innodb.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/convert_engine_innodb.sql')
-rw-r--r--sql-files/convert_engine_innodb.sql38
1 files changed, 38 insertions, 0 deletions
diff --git a/sql-files/convert_engine_innodb.sql b/sql-files/convert_engine_innodb.sql
new file mode 100644
index 000000000..f2610a775
--- /dev/null
+++ b/sql-files/convert_engine_innodb.sql
@@ -0,0 +1,38 @@
+--
+-- eAthena Database Converter ( MyISAM -> InnoDB )
+--
+
+ALTER TABLE `cart_inventory` TYPE = InnoDB;
+ALTER TABLE `char` TYPE = InnoDB;
+ALTER TABLE `charlog` TYPE = InnoDB;
+ALTER TABLE `friends` TYPE = InnoDB;
+ALTER TABLE `global_reg_value` TYPE = InnoDB;
+ALTER TABLE `guild` TYPE = InnoDB;
+ALTER TABLE `guild_alliance` TYPE = InnoDB;
+ALTER TABLE `guild_castle` TYPE = InnoDB;
+ALTER TABLE `guild_expulsion` TYPE = InnoDB;
+ALTER TABLE `guild_member` TYPE = InnoDB;
+ALTER TABLE `guild_position` TYPE = InnoDB;
+ALTER TABLE `guild_skill` TYPE = InnoDB;
+ALTER TABLE `guild_storage` TYPE = InnoDB;
+ALTER TABLE `homunculus` TYPE = InnoDB;
+ALTER TABLE `interlog` TYPE = InnoDB;
+ALTER TABLE `inventory` TYPE = InnoDB;
+ALTER TABLE `ipbanlist` TYPE = InnoDB;
+ALTER TABLE `item_db` TYPE = InnoDB;
+ALTER TABLE `item_db2` TYPE = InnoDB;
+ALTER TABLE `login` TYPE = InnoDB;
+#ALTER TABLE `loginlog` TYPE = InnoDB;
+#ALTER TABLE `mail` TYPE = InnoDB;
+ALTER TABLE `mapreg` TYPE = InnoDB;
+ALTER TABLE `memo` TYPE = InnoDB;
+ALTER TABLE `mob_db` TYPE = InnoDB;
+ALTER TABLE `mob_db2` TYPE = InnoDB;
+ALTER TABLE `party` TYPE = InnoDB;
+ALTER TABLE `pet` TYPE = InnoDB;
+ALTER TABLE `ragsrvinfo` TYPE = InnoDB;
+ALTER TABLE `sc_data` TYPE = InnoDB;
+ALTER TABLE `skill` TYPE = InnoDB;
+ALTER TABLE `skill_homunculus` TYPE = InnoDB;
+ALTER TABLE `sstatus` TYPE = InnoDB;
+ALTER TABLE `storage` TYPE = InnoDB;