summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-23 14:59:51 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-23 14:59:51 +0000
commitc45d93d9d873996f99829dfc506c7875ea13d24c (patch)
tree19dcfcbf374369ba433e63c6ed800d707eb05176 /sql-files
parent94281a398ef3a288a23cebb9f2d9a5227c570996 (diff)
downloadhercules-c45d93d9d873996f99829dfc506c7875ea13d24c.tar.gz
hercules-c45d93d9d873996f99829dfc506c7875ea13d24c.tar.bz2
hercules-c45d93d9d873996f99829dfc506c7875ea13d24c.tar.xz
hercules-c45d93d9d873996f99829dfc506c7875ea13d24c.zip
- 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
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql1
-rw-r--r--sql-files/upgrade_svn13117_char.sql1
2 files changed, 2 insertions, 0 deletions
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