rathena/sql-files/upgrades/upgrade_svn17014.sql
brianluau 2c8fd60503 - Renamed some /sql-files/upgrades/upgrade_svn***** files to match previous naming conventions.
Upgrade files ending in "_log" should be applied to the log database.
Upgrade files with no suffix are applied to the ragnarok database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-18 20:32:00 +00:00

10 lines
651 B
SQL

ALTER TABLE `elemental` CHANGE COLUMN `str` `atk1` MEDIUMINT(6) UNSIGNED NOT NULL DEFAULT 0,
CHANGE COLUMN `agi` `atk2` MEDIUMINT(6) UNSIGNED NOT NULL DEFAULT 0,
CHANGE COLUMN `vit` `matk` MEDIUMINT(6) UNSIGNED NOT NULL DEFAULT 0,
CHANGE COLUMN `int` `aspd` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0,
CHANGE COLUMN `dex` `def` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0,
CHANGE COLUMN `luk` `mdef` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0,
CHANGE COLUMN `life_time` `flee` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0,
ADD COLUMN `hit` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0 AFTER `flee`,
ADD COLUMN `life_time` INT(11) NOT NULL DEFAULT 0 AFTER `hit`;