rathena/sql-files/upgrade_svn13166_mercenary_owner.sql
brianluau 9cc789d234 - Added svn:eol-style native for some conf/css/html/pl/sql/txt files.
- Added svn:executable property for several batch/shell scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-27 16:56:26 +00:00

22 lines
611 B
SQL

-- Removes mer_id from Char DB
ALTER TABLE `char` DROP COLUMN `mer_id`;
-- Clean mercenary DB
TRUNCATE TABLE `mercenary`;
-- Table structure for table `mercenary_owner`
CREATE TABLE IF NOT EXISTS `mercenary_owner` (
`char_id` int(11) NOT NULL,
`merc_id` int(11) NOT NULL default '0',
`arch_calls` int(11) NOT NULL default '0',
`arch_faith` int(11) NOT NULL default '0',
`spear_calls` int(11) NOT NULL default '0',
`spear_faith` int(11) NOT NULL default '0',
`sword_calls` int(11) NOT NULL default '0',
`sword_faith` int(11) NOT NULL default '0',
PRIMARY KEY (`char_id`)
) ENGINE=MyISAM;