diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-20 16:40:22 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-20 16:40:22 +0000 |
commit | 66c7d0352d02bc74492730bdc66253617d385923 (patch) | |
tree | 3b96457e52be5be888ab317fb73eba7ec030b49b /sql-files | |
parent | ca32e250d3ad395f20a6290f5af7181fdbd5c23e (diff) | |
download | hercules-66c7d0352d02bc74492730bdc66253617d385923.tar.gz hercules-66c7d0352d02bc74492730bdc66253617d385923.tar.bz2 hercules-66c7d0352d02bc74492730bdc66253617d385923.tar.xz hercules-66c7d0352d02bc74492730bdc66253617d385923.zip |
SQL fix for Homunc skills
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7768 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 7 | ||||
-rw-r--r-- | sql-files/upgrade_svn7768.sql | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index 40410b005..9dc4ca84b 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -338,7 +338,7 @@ CREATE TABLE `homunculus` ( `rename_flag` tinyint(2) NOT NULL default '0',
`vaporize` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`homun_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+) TYPE=MyISAM;
--
-- Table structure for table `interlog`
@@ -547,8 +547,9 @@ CREATE TABLE `skill_homunculus` ( `homun_id` int(11) NOT NULL,
`id` int(11) NOT NULL,
`lv` smallint(6) NOT NULL,
- PRIMARY KEY (`homun_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+ PRIMARY KEY (`homun_id`,`id`),
+ KEY `homun_id` (`homun_id`)
+) TYPE=MyISAM;
--
-- Table structure for table `sstatus`
diff --git a/sql-files/upgrade_svn7768.sql b/sql-files/upgrade_svn7768.sql new file mode 100644 index 000000000..69f6f1333 --- /dev/null +++ b/sql-files/upgrade_svn7768.sql @@ -0,0 +1,8 @@ +DROP TABLE IF EXISTS `skill_homunculus`;
+CREATE TABLE `skill_homunculus` (
+ `homun_id` int(11) NOT NULL,
+ `id` int(11) NOT NULL,
+ `lv` smallint(6) NOT NULL,
+ PRIMARY KEY (`homun_id`,`id`),
+ KEY `homun_id` (`homun_id`)
+) TYPE=MyISAM;
\ No newline at end of file |