Updated .sql DB files.

* Follow up a1f59c6a0fa030cb10014ed09c395e9bfb41a95d
* Follow up 08ea77a99379e5753c120d2f8c8bb57912e7ef94, normalize ending-lines.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
This commit is contained in:
Cydh Ramdh 2016-08-03 00:11:56 +07:00
parent a1f59c6a0f
commit d1c40d644c
5 changed files with 22291 additions and 22233 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,200 +1,200 @@
-- --
-- Table structure for table `atcommandlog` -- Table structure for table `atcommandlog`
-- --
CREATE TABLE IF NOT EXISTS `atcommandlog` ( CREATE TABLE IF NOT EXISTS `atcommandlog` (
`atcommand_id` mediumint(9) unsigned NOT NULL auto_increment, `atcommand_id` mediumint(9) unsigned NOT NULL auto_increment,
`atcommand_date` datetime NOT NULL default '0000-00-00 00:00:00', `atcommand_date` datetime NOT NULL default '0000-00-00 00:00:00',
`account_id` int(11) unsigned NOT NULL default '0', `account_id` int(11) unsigned NOT NULL default '0',
`char_id` int(11) unsigned NOT NULL default '0', `char_id` int(11) unsigned NOT NULL default '0',
`char_name` varchar(25) NOT NULL default '', `char_name` varchar(25) NOT NULL default '',
`map` varchar(11) NOT NULL default '', `map` varchar(11) NOT NULL default '',
`command` varchar(255) NOT NULL default '', `command` varchar(255) NOT NULL default '',
PRIMARY KEY (`atcommand_id`), PRIMARY KEY (`atcommand_id`),
INDEX (`account_id`), INDEX (`account_id`),
INDEX (`char_id`) INDEX (`char_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --
-- Table structure for table `branchlog` -- Table structure for table `branchlog`
-- --
CREATE TABLE IF NOT EXISTS `branchlog` ( CREATE TABLE IF NOT EXISTS `branchlog` (
`branch_id` mediumint(9) unsigned NOT NULL auto_increment, `branch_id` mediumint(9) unsigned NOT NULL auto_increment,
`branch_date` datetime NOT NULL default '0000-00-00 00:00:00', `branch_date` datetime NOT NULL default '0000-00-00 00:00:00',
`account_id` int(11) NOT NULL default '0', `account_id` int(11) NOT NULL default '0',
`char_id` int(11) NOT NULL default '0', `char_id` int(11) NOT NULL default '0',
`char_name` varchar(25) NOT NULL default '', `char_name` varchar(25) NOT NULL default '',
`map` varchar(11) NOT NULL default '', `map` varchar(11) NOT NULL default '',
PRIMARY KEY (`branch_id`), PRIMARY KEY (`branch_id`),
INDEX (`account_id`), INDEX (`account_id`),
INDEX (`char_id`) INDEX (`char_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --
-- Table structure for table `cashlog` -- Table structure for table `cashlog`
-- --
CREATE TABLE IF NOT EXISTS `cashlog` ( CREATE TABLE IF NOT EXISTS `cashlog` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`char_id` int(11) NOT NULL DEFAULT '0', `char_id` int(11) NOT NULL DEFAULT '0',
`type` enum('T','V','P','M','S','N','D','C','A','E','I','B','$') NOT NULL DEFAULT 'S', `type` enum('T','V','P','M','S','N','D','C','A','E','I','B','$') NOT NULL DEFAULT 'S',
`cash_type` enum('O','K','C') NOT NULL DEFAULT 'O', `cash_type` enum('O','K','C') NOT NULL DEFAULT 'O',
`amount` int(11) NOT NULL DEFAULT '0', `amount` int(11) NOT NULL DEFAULT '0',
`map` varchar(11) NOT NULL DEFAULT '', `map` varchar(11) NOT NULL DEFAULT '',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
INDEX `type` (`type`) INDEX `type` (`type`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --
-- Table structure for table `chatlog` -- Table structure for table `chatlog`
-- --
# ChatLog types # ChatLog types
# Gl(O)bal # (W)hisper # (P)arty # (G)uild # (M)ain chat # Gl(O)bal # (W)hisper # (P)arty # (G)uild # (M)ain chat
CREATE TABLE IF NOT EXISTS `chatlog` ( CREATE TABLE IF NOT EXISTS `chatlog` (
`id` bigint(20) NOT NULL auto_increment, `id` bigint(20) NOT NULL auto_increment,
`time` datetime NOT NULL default '0000-00-00 00:00:00', `time` datetime NOT NULL default '0000-00-00 00:00:00',
`type` enum('O','W','P','G','M') NOT NULL default 'O', `type` enum('O','W','P','G','M') NOT NULL default 'O',
`type_id` int(11) NOT NULL default '0', `type_id` int(11) NOT NULL default '0',
`src_charid` int(11) NOT NULL default '0', `src_charid` int(11) NOT NULL default '0',
`src_accountid` int(11) NOT NULL default '0', `src_accountid` int(11) NOT NULL default '0',
`src_map` varchar(11) NOT NULL default '', `src_map` varchar(11) NOT NULL default '',
`src_map_x` smallint(4) NOT NULL default '0', `src_map_x` smallint(4) NOT NULL default '0',
`src_map_y` smallint(4) NOT NULL default '0', `src_map_y` smallint(4) NOT NULL default '0',
`dst_charname` varchar(25) NOT NULL default '', `dst_charname` varchar(25) NOT NULL default '',
`message` varchar(150) NOT NULL default '', `message` varchar(150) NOT NULL default '',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
INDEX (`src_accountid`), INDEX (`src_accountid`),
INDEX (`src_charid`) INDEX (`src_charid`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --
-- Table structure for table `feedinglog` -- Table structure for table `feedinglog`
-- --
CREATE TABLE IF NOT EXISTS `feedinglog` ( CREATE TABLE IF NOT EXISTS `feedinglog` (
`id` INT(11) NOT NULL AUTO_INCREMENT, `id` INT(11) NOT NULL AUTO_INCREMENT,
`time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
`char_id` INT(11) NOT NULL, `char_id` INT(11) NOT NULL,
`target_id` INT(11) NOT NULL, `target_id` INT(11) NOT NULL,
`target_class` SMALLINT(11) NOT NULL, `target_class` SMALLINT(11) NOT NULL,
`type` ENUM('P','H','O') NOT NULL, -- P: Pet, H: Homunculus, O: Other `type` ENUM('P','H','O') NOT NULL, -- P: Pet, H: Homunculus, O: Other
`intimacy` INT(11) UNSIGNED NOT NULL, `intimacy` INT(11) UNSIGNED NOT NULL,
`item_id` SMALLINT(5) UNSIGNED NOT NULL, `item_id` SMALLINT(5) UNSIGNED NOT NULL,
`map` VARCHAR(11) NOT NULL, `map` VARCHAR(11) NOT NULL,
`x` SMALLINT(5) UNSIGNED NOT NULL, `x` SMALLINT(5) UNSIGNED NOT NULL,
`y` SMALLINT(5) UNSIGNED NOT NULL, `y` SMALLINT(5) UNSIGNED NOT NULL,
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE = MyISAM AUTO_INCREMENT = 1; ) ENGINE = MyISAM AUTO_INCREMENT = 1;
-- --
-- Table structure for table `loginlog` -- Table structure for table `loginlog`
-- --
CREATE TABLE IF NOT EXISTS `loginlog` ( CREATE TABLE IF NOT EXISTS `loginlog` (
`time` datetime NOT NULL default '0000-00-00 00:00:00', `time` datetime NOT NULL default '0000-00-00 00:00:00',
`ip` varchar(15) NOT NULL default '', `ip` varchar(15) NOT NULL default '',
`user` varchar(23) NOT NULL default '', `user` varchar(23) NOT NULL default '',
`rcode` tinyint(4) NOT NULL default '0', `rcode` tinyint(4) NOT NULL default '0',
`log` varchar(255) NOT NULL default '', `log` varchar(255) NOT NULL default '',
INDEX (`ip`) INDEX (`ip`)
) ENGINE=MyISAM ; ) ENGINE=MyISAM ;
-- --
-- Table structure for table `mvplog` -- Table structure for table `mvplog`
-- --
CREATE TABLE IF NOT EXISTS `mvplog` ( CREATE TABLE IF NOT EXISTS `mvplog` (
`mvp_id` mediumint(9) unsigned NOT NULL auto_increment, `mvp_id` mediumint(9) unsigned NOT NULL auto_increment,
`mvp_date` datetime NOT NULL default '0000-00-00 00:00:00', `mvp_date` datetime NOT NULL default '0000-00-00 00:00:00',
`kill_char_id` int(11) NOT NULL default '0', `kill_char_id` int(11) NOT NULL default '0',
`monster_id` smallint(6) NOT NULL default '0', `monster_id` smallint(6) NOT NULL default '0',
`prize` smallint(5) unsigned NOT NULL default '0', `prize` smallint(5) unsigned NOT NULL default '0',
`mvpexp` mediumint(9) NOT NULL default '0', `mvpexp` mediumint(9) NOT NULL default '0',
`map` varchar(11) NOT NULL default '', `map` varchar(11) NOT NULL default '',
PRIMARY KEY (`mvp_id`) PRIMARY KEY (`mvp_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --
-- Table structure for table `npclog` -- Table structure for table `npclog`
-- --
CREATE TABLE IF NOT EXISTS `npclog` ( CREATE TABLE IF NOT EXISTS `npclog` (
`npc_id` mediumint(9) unsigned NOT NULL auto_increment, `npc_id` mediumint(9) unsigned NOT NULL auto_increment,
`npc_date` datetime NOT NULL default '0000-00-00 00:00:00', `npc_date` datetime NOT NULL default '0000-00-00 00:00:00',
`account_id` int(11) unsigned NOT NULL default '0', `account_id` int(11) unsigned NOT NULL default '0',
`char_id` int(11) unsigned NOT NULL default '0', `char_id` int(11) unsigned NOT NULL default '0',
`char_name` varchar(25) NOT NULL default '', `char_name` varchar(25) NOT NULL default '',
`map` varchar(11) NOT NULL default '', `map` varchar(11) NOT NULL default '',
`mes` varchar(255) NOT NULL default '', `mes` varchar(255) NOT NULL default '',
PRIMARY KEY (`npc_id`), PRIMARY KEY (`npc_id`),
INDEX (`account_id`), INDEX (`account_id`),
INDEX (`char_id`) INDEX (`char_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --
-- Table structure for table `picklog` -- Table structure for table `picklog`
-- --
# PickLog types # PickLog types
# (M)onsters Drop # (M)onsters Drop
# (P)layers Drop/Take # (P)layers Drop/Take
# Mobs Drop (L)oot Drop/Take # Mobs Drop (L)oot Drop/Take
# Players (T)rade Give/Take # Players (T)rade Give/Take
# Players (V)ending Sell/Take # Players (V)ending Sell/Take
# (S)hop Sell/Take # (S)hop Sell/Take
# (N)PC Give/Take # (N)PC Give/Take
# (C)onsumable Items # (C)onsumable Items
# (A)dministrators Create/Delete # (A)dministrators Create/Delete
# Sto(R)age # Sto(R)age
# (G)uild Storage # (G)uild Storage
# (E)mail attachment # (E)mail attachment
# (B)uying Store # (B)uying Store
# Pr(O)duced Items/Ingredients # Pr(O)duced Items/Ingredients
# Auct(I)oned Items # Auct(I)oned Items
# (X) Other # (X) Other
# (D) Stolen from mobs # (D) Stolen from mobs
# (U) MVP Prizes # (U) MVP Prizes
# (F) Guild/Party Bound retrieval # (F) Guild/Party Bound retrieval
# Lotter(Y) # Lotter(Y)
# (Z) Merged Items # (Z) Merged Items
# (Q)uest # (Q)uest
CREATE TABLE IF NOT EXISTS `picklog` ( CREATE TABLE IF NOT EXISTS `picklog` (
`id` int(11) NOT NULL auto_increment, `id` int(11) NOT NULL auto_increment,
`time` datetime NOT NULL default '0000-00-00 00:00:00', `time` datetime NOT NULL default '0000-00-00 00:00:00',
`char_id` int(11) NOT NULL default '0', `char_id` int(11) NOT NULL default '0',
`type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U','$','F','Z','Q') NOT NULL default 'P', `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U','$','F','Z','Q') NOT NULL default 'P',
`nameid` smallint(5) unsigned NOT NULL default '0', `nameid` smallint(5) unsigned NOT NULL default '0',
`amount` int(11) NOT NULL default '1', `amount` int(11) NOT NULL default '1',
`refine` tinyint(3) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0',
`card0` smallint(5) unsigned NOT NULL default '0', `card0` smallint(5) unsigned NOT NULL default '0',
`card1` smallint(5) unsigned NOT NULL default '0', `card1` smallint(5) unsigned NOT NULL default '0',
`card2` smallint(5) unsigned NOT NULL default '0', `card2` smallint(5) unsigned NOT NULL default '0',
`card3` smallint(5) unsigned NOT NULL default '0', `card3` smallint(5) unsigned NOT NULL default '0',
`unique_id` bigint(20) unsigned NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0',
`map` varchar(11) NOT NULL default '', `map` varchar(11) NOT NULL default '',
`bound` tinyint(1) unsigned NOT NULL default '0', `bound` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
INDEX (`type`) INDEX (`type`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --
-- Table structure for table `zenylog` -- Table structure for table `zenylog`
-- --
# ZenyLog types # ZenyLog types
# (M)onsters # (T)rade # (V)ending Sell/Buy # (S)hop Sell/Buy # (N)PC Change amount # (M)onsters # (T)rade # (V)ending Sell/Buy # (S)hop Sell/Buy # (N)PC Change amount
# (A)dministrators # (E)Mail # (B)uying Store # Ban(K) Transactions # (A)dministrators # (E)Mail # (B)uying Store # Ban(K) Transactions
CREATE TABLE IF NOT EXISTS `zenylog` ( CREATE TABLE IF NOT EXISTS `zenylog` (
`id` int(11) NOT NULL auto_increment, `id` int(11) NOT NULL auto_increment,
`time` datetime NOT NULL default '0000-00-00 00:00:00', `time` datetime NOT NULL default '0000-00-00 00:00:00',
`char_id` int(11) NOT NULL default '0', `char_id` int(11) NOT NULL default '0',
`src_id` int(11) NOT NULL default '0', `src_id` int(11) NOT NULL default '0',
`type` enum('T','V','P','M','S','N','D','C','A','E','I','B','K') NOT NULL default 'S', `type` enum('T','V','P','M','S','N','D','C','A','E','I','B','K') NOT NULL default 'S',
`amount` int(11) NOT NULL default '0', `amount` int(11) NOT NULL default '0',
`map` varchar(11) NOT NULL default '', `map` varchar(11) NOT NULL default '',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
INDEX (`type`) INDEX (`type`)
) ENGINE=MyISAM AUTO_INCREMENT=1; ) ENGINE=MyISAM AUTO_INCREMENT=1;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff