rathena/sql-files/upgrades/upgrade_20170407.sql
Aleos 7f5411da07 Initial release of the Achievement System (#2044)
* Information based on kRO patch notes.
- http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1
* Includes Title System which is integrated into the Achievement System.
* Includes RODEX integration for rewards.
* Added new atcommand reloadachievementdb.
* Added new script commands achievementinfo, achievementadd, achievementremove, achievementcomplete, and achievementexists.
Thanks to @Lux-uri, @RagnarokNova, @Lemongrass3110, and @Tokeiburu for their help!
2017-07-27 09:33:03 -04:00

26 lines
954 B
SQL

ALTER TABLE `char`
ADD COLUMN `title_id` int(11) unsigned NOT NULL default '0' AFTER `clan_id`;
--
-- Table structure for table `achievement`
--
CREATE TABLE IF NOT EXISTS `achievement` (
`char_id` int(11) unsigned NOT NULL default '0',
`id` bigint(11) unsigned NOT NULL,
`count1` mediumint(8) unsigned NOT NULL default '0',
`count2` mediumint(8) unsigned NOT NULL default '0',
`count3` mediumint(8) unsigned NOT NULL default '0',
`count4` mediumint(8) unsigned NOT NULL default '0',
`count5` mediumint(8) unsigned NOT NULL default '0',
`count6` mediumint(8) unsigned NOT NULL default '0',
`count7` mediumint(8) unsigned NOT NULL default '0',
`count8` mediumint(8) unsigned NOT NULL default '0',
`count9` mediumint(8) unsigned NOT NULL default '0',
`count10` mediumint(8) unsigned NOT NULL default '0',
`completed` datetime,
`rewarded` datetime,
PRIMARY KEY (`char_id`,`id`),
KEY `char_id` (`char_id`)
) ENGINE=MyISAM;