From b6c7de7c0092573a00980458f7f1e8c3afb613d9 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sat, 23 Aug 2008 12:14:13 +0000 Subject: [PATCH] - Database structure for Mercenary. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13115 54d463be-8e91-2dee-dedb-b68131a5f0ec --- sql-files/main.sql | 15 +++++++++++++++ sql-files/upgrade_svn13115_mercenary.sql | 14 ++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 sql-files/upgrade_svn13115_mercenary.sql diff --git a/sql-files/main.sql b/sql-files/main.sql index c06b8dac68..a79eee0e12 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -481,6 +481,21 @@ CREATE TABLE IF NOT EXISTS `memo` ( KEY `char_id` (`char_id`) ) 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 0000000000..bcb7cff311 --- /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;