summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-23 12:14:13 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-23 12:14:13 +0000
commit59b08db5fcebd6e3d94f5353602fc685dbf9e3f5 (patch)
treee34910a18b36e122c328f0a040c334442e005a64 /sql-files
parent507d5f485deddbd551d844aefb5c6646ad18b461 (diff)
downloadhercules-59b08db5fcebd6e3d94f5353602fc685dbf9e3f5.tar.gz
hercules-59b08db5fcebd6e3d94f5353602fc685dbf9e3f5.tar.bz2
hercules-59b08db5fcebd6e3d94f5353602fc685dbf9e3f5.tar.xz
hercules-59b08db5fcebd6e3d94f5353602fc685dbf9e3f5.zip
- Database structure for Mercenary.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql15
-rw-r--r--sql-files/upgrade_svn13115_mercenary.sql14
2 files changed, 29 insertions, 0 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index c06b8dac6..a79eee0e1 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -482,6 +482,21 @@ CREATE TABLE IF NOT EXISTS `memo` (
) ENGINE=MyISAM;
--
+-- Table structure for table `mercenary`
+--
+
+CREATE TABLE IF NOT EXISTS `mercenary` (
+ `mer_id` int(11) unsigned NOT NULL auto_increment,
+ `char_id` int(11) NOT NULL,
+ `class` mediumint(9) unsigned NOT NULL default '0',
+ `hp` int(12) NOT NULL default '1',
+ `sp` int(12) NOT NULL default '1',
+ `kill_counter` int(11) NOT NULL,
+ `life_time` int(11) NOT NULL default '0',
+ PRIMARY KEY (`mer_id`)
+) ENGINE=MyISAM;
+
+--
-- Table structure for table `party`
--
diff --git a/sql-files/upgrade_svn13115_mercenary.sql b/sql-files/upgrade_svn13115_mercenary.sql
new file mode 100644
index 000000000..bcb7cff31
--- /dev/null
+++ b/sql-files/upgrade_svn13115_mercenary.sql
@@ -0,0 +1,14 @@
+--
+-- Table structure for table `mercenary`
+--
+
+CREATE TABLE IF NOT EXISTS `mercenary` (
+ `mer_id` int(11) unsigned NOT NULL auto_increment,
+ `char_id` int(11) NOT NULL,
+ `class` mediumint(9) unsigned NOT NULL default '0',
+ `hp` int(12) NOT NULL default '1',
+ `sp` int(12) NOT NULL default '1',
+ `kill_counter` int(11) NOT NULL,
+ `life_time` int(11) NOT NULL default '0',
+ PRIMARY KEY (`mer_id`)
+) ENGINE=MyISAM;