summaryrefslogtreecommitdiff
path: root/sql-files/upgrade_svn15885.sql
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-20 19:56:28 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-20 19:56:28 +0000
commit813f7f0a5d421304fab04de9c7b5dc8b852ebfe1 (patch)
treeeaca1de8d3054336a7ce8fd3ca4c43463ec365af /sql-files/upgrade_svn15885.sql
parent4c8836e09dca6238f9041ecb41477fb8fb8fdd65 (diff)
downloadhercules-813f7f0a5d421304fab04de9c7b5dc8b852ebfe1.tar.gz
hercules-813f7f0a5d421304fab04de9c7b5dc8b852ebfe1.tar.bz2
hercules-813f7f0a5d421304fab04de9c7b5dc8b852ebfe1.tar.xz
hercules-813f7f0a5d421304fab04de9c7b5dc8b852ebfe1.zip
follow up r15885. Renamed upgrade_svn15885_log.sql to upgrade_svn15885.sql and removed a leftover from the original file
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15888 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files/upgrade_svn15885.sql')
-rw-r--r--sql-files/upgrade_svn15885.sql24
1 files changed, 24 insertions, 0 deletions
diff --git a/sql-files/upgrade_svn15885.sql b/sql-files/upgrade_svn15885.sql
new file mode 100644
index 000000000..7f1666c79
--- /dev/null
+++ b/sql-files/upgrade_svn15885.sql
@@ -0,0 +1,24 @@
+ALTER TABLE `char` ADD COLUMN `elemental_id` int(11) unsigned NOT NULL default '0';
+
+--
+-- Table structure for table `elemental`
+--
+
+CREATE TABLE IF NOT EXISTS `elemental` (
+ `ele_id` int(11) unsigned NOT NULL auto_increment,
+ `char_id` int(11) NOT NULL,
+ `class` mediumint(9) unsigned NOT NULL default '0',
+ `mode` int(11) unsigned NOT NULL default '1',
+ `hp` int(12) NOT NULL default '1',
+ `sp` int(12) NOT NULL default '1',
+ `max_hp` mediumint(8) unsigned NOT NULL default '0',
+ `max_sp` mediumint(6) unsigned NOT NULL default '0',
+ `str` smallint(4) unsigned NOT NULL default '0',
+ `agi` smallint(4) unsigned NOT NULL default '0',
+ `vit` smallint(4) unsigned NOT NULL default '0',
+ `int` smallint(4) unsigned NOT NULL default '0',
+ `dex` smallint(4) unsigned NOT NULL default '0',
+ `luk` smallint(4) unsigned NOT NULL default '0',
+ `life_time` int(11) NOT NULL default '0',
+ PRIMARY KEY (`ele_id`)
+) ENGINE=MyISAM; \ No newline at end of file