Jelajahi Sumber

- Database structure for Mercenary.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13115 54d463be-8e91-2dee-dedb-b68131a5f0ec
zephyrus 16 tahun lalu
induk
melakukan
b6c7de7c00
2 mengubah file dengan 29 tambahan dan 0 penghapusan
  1. 15 0
      sql-files/main.sql
  2. 14 0
      sql-files/upgrade_svn13115_mercenary.sql

+ 15 - 0
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`
 --

+ 14 - 0
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;