From c45d93d9d873996f99829dfc506c7875ea13d24c Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sat, 23 Aug 2008 14:59:51 +0000 Subject: - Added column `mer_id` on char_db - More mercenary implementations (delete, load, create) - Some fixes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13117 54d463be-8e91-2dee-dedb-b68131a5f0ec --- sql-files/main.sql | 1 + sql-files/upgrade_svn13117_char.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 sql-files/upgrade_svn13117_char.sql (limited to 'sql-files') diff --git a/sql-files/main.sql b/sql-files/main.sql index a79eee0e1..a5c23421a 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -79,6 +79,7 @@ CREATE TABLE IF NOT EXISTS `char` ( `guild_id` int(11) unsigned NOT NULL default '0', `pet_id` int(11) unsigned NOT NULL default '0', `homun_id` int(11) unsigned NOT NULL default '0', + `mer_id` int(11) unsigned NOT NULL default '0', `hair` tinyint(4) unsigned NOT NULL default '0', `hair_color` smallint(5) unsigned NOT NULL default '0', `clothes_color` smallint(5) unsigned NOT NULL default '0', diff --git a/sql-files/upgrade_svn13117_char.sql b/sql-files/upgrade_svn13117_char.sql new file mode 100644 index 000000000..99fea2086 --- /dev/null +++ b/sql-files/upgrade_svn13117_char.sql @@ -0,0 +1 @@ +ALTER TABLE `char` ADD COLUMN `mer_id` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `homun_id`; \ No newline at end of file -- cgit v1.2.3-70-g09d2