Tool Update

* Added Unique Index to convert_sql.pl

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
This commit is contained in:
nanakiwurtz 2016-01-20 14:22:20 +07:00
parent 1d2dc2a82a
commit 759cc41d99

View File

@ -229,7 +229,8 @@ CREATE TABLE `$db` (
`script` text, `script` text,
`equip_script` text, `equip_script` text,
`unequip_script` text, `unequip_script` text,
PRIMARY KEY (`id`) PRIMARY KEY (`id`),
UNIQUE INDEX `UniqueAegisName` (`name_english`)
) ENGINE=MyISAM; ) ENGINE=MyISAM;
"; ";
#NOTE: These do not match the table struct defaults. #NOTE: These do not match the table struct defaults.
@ -271,7 +272,8 @@ CREATE TABLE `$db` (
`script` text, `script` text,
`equip_script` text, `equip_script` text,
`unequip_script` text, `unequip_script` text,
PRIMARY KEY (`id`) PRIMARY KEY (`id`),
UNIQUE INDEX `UniqueAegisName` (`name_english`)
) ENGINE=MyISAM; ) ENGINE=MyISAM;
"; ";
#NOTE: These do not match the table struct defaults. #NOTE: These do not match the table struct defaults.