diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-02 00:11:54 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-02 00:11:54 +0000 |
commit | 572e2c0dcc4e124136f9ad4bc493184e917e8f63 (patch) | |
tree | f93861924f9b03e10feb005e21eb51672693e545 /sql-files/logs.sql | |
parent | f9b1682603fee23ba36ff04fbdc303dd0b7cf0ef (diff) | |
download | hercules-572e2c0dcc4e124136f9ad4bc493184e917e8f63.tar.gz hercules-572e2c0dcc4e124136f9ad4bc493184e917e8f63.tar.bz2 hercules-572e2c0dcc4e124136f9ad4bc493184e917e8f63.tar.xz hercules-572e2c0dcc4e124136f9ad4bc493184e917e8f63.zip |
EOL-styled some more files
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9947 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files/logs.sql')
-rw-r--r-- | sql-files/logs.sql | 224 |
1 files changed, 112 insertions, 112 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql index 7a27f8a6a..597e9e0ed 100644 --- a/sql-files/logs.sql +++ b/sql-files/logs.sql @@ -1,112 +1,112 @@ -#Pick_Log types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take,
-# Players (T)rade Give/Take, Players (V)ending Sell/Take, (S)hop Sell/Take, (N)PC Give/Take,
-# (C)onsumable Items, (A)dministrators Create/Delete
-
-#Database: log
-#Table: picklog
-CREATE TABLE `picklog` (
- `id` int(11) NOT NULL auto_increment,
- `time` datetime NOT NULL default '0000-00-00 00:00:00',
- `char_id` int(11) NOT NULL default '0',
- `type` set('M','P','L','T','V','S','N','C','A') NOT NULL default 'P',
- `nameid` int(11) NOT NULL default '0',
- `amount` int(11) NOT NULL default '1',
- `refine` tinyint(3) unsigned NOT NULL default '0',
- `card0` int(11) NOT NULL default '0',
- `card1` int(11) NOT NULL default '0',
- `card2` int(11) NOT NULL default '0',
- `card3` int(11) NOT NULL default '0',
- `map` varchar(20) NOT NULL default 'prontera.gat',
- PRIMARY KEY (`id`),
- INDEX (`type`)
-) TYPE=MyISAM AUTO_INCREMENT=1 ;
-
-#ZenyLog types (M)onsters,(T)rade,(V)ending Sell/Buy,(S)hop Sell/Buy,(N)PC Change amount,(A)dministrators
-#Database: log
-#Table: zenylog
-CREATE TABLE `zenylog` (
- `id` int(11) NOT NULL auto_increment,
- `time` datetime NOT NULL default '0000-00-00 00:00:00',
- `char_id` int(11) NOT NULL default '0',
- `src_id` int(11) NOT NULL default '0',
- `type` set('M','T','V','S','N','A') NOT NULL default 'S',
- `amount` int(11) NOT NULL default '0',
- `map` varchar(20) NOT NULL default 'prontera.gat',
- PRIMARY KEY (`id`),
- INDEX (`type`)
-) TYPE=MyISAM AUTO_INCREMENT=1 ;
-
-#Database: log
-#Table: branchlog
-CREATE TABLE `branchlog` (
- `branch_id` mediumint(9) unsigned NOT NULL auto_increment,
- `branch_date` datetime NOT NULL default '0000-00-00 00:00:00',
- `account_id` int(11) NOT NULL default '0',
- `char_id` int(11) NOT NULL default '0',
- `char_name` varchar(30) NOT NULL default '',
- `map` varchar(20) NOT NULL default 'prontera.gat',
- PRIMARY KEY (`branch_id`),
- INDEX (`account_id`),
- INDEX (`char_id`)
-) TYPE=MyISAM AUTO_INCREMENT=1 ;
-
-#Database: log
-#Table: mvplog
-CREATE TABLE `mvplog` (
- `mvp_id` mediumint(9) unsigned NOT NULL auto_increment,
- `mvp_date` datetime NOT NULL default '0000-00-00 00:00:00',
- `kill_char_id` int(11) NOT NULL default '0',
- `monster_id` smallint(6) NOT NULL default '0',
- `prize` int(11) NOT NULL default '0',
- `mvpexp` mediumint(9) NOT NULL default '0',
- `map` varchar(20) NOT NULL default 'prontera.gat',
- PRIMARY KEY (`mvp_id`)
-) TYPE=MyISAM AUTO_INCREMENT=1 ;
-
-#Database: log
-#Table: atcommandlog
-CREATE TABLE `atcommandlog` (
- `atcommand_id` mediumint(9) unsigned NOT NULL auto_increment,
- `atcommand_date` datetime NOT NULL default '0000-00-00 00:00:00',
- `account_id` int(11) unsigned NOT NULL default '0',
- `char_id` int(11) unsigned NOT NULL default '0',
- `char_name` varchar(30) NOT NULL default '',
- `map` varchar(20) NOT NULL default 'prontera.gat',
- `command` varchar(50) NOT NULL default '',
- PRIMARY KEY (`atcommand_id`),
- INDEX (`account_id`),
- INDEX (`char_id`)
-) TYPE=MyISAM AUTO_INCREMENT=1 ;
-
-#Database: log
-#Table: npclog
-CREATE TABLE `npclog` (
- `npc_id` mediumint(9) unsigned NOT NULL auto_increment,
- `npc_date` datetime NOT NULL default '0000-00-00 00:00:00',
- `account_id` int(11) unsigned NOT NULL default '0',
- `char_id` int(11) unsigned NOT NULL default '0',
- `char_name` varchar(30) NOT NULL default '',
- `map` varchar(20) NOT NULL default 'prontera.gat',
- `mes` varchar(255) NOT NULL default '',
- PRIMARY KEY (`npc_id`),
- INDEX (`account_id`),
- INDEX (`char_id`)
-) TYPE=MyISAM AUTO_INCREMENT=1 ;
-
-#ChatLOG
-CREATE TABLE `chatlog` (
- `id` bigint(20) NOT NULL auto_increment,
- `time` datetime NOT NULL default '0000-00-00 00:00:00',
- `type` set('W','P','G') NOT NULL default 'W',
- `type_id` int(11) NOT NULL default '0',
- `src_charid` int(11) NOT NULL default '0',
- `src_accountid` int(11) NOT NULL default '0',
- `src_map` varchar(17) NOT NULL default 'prontera.gat',
- `src_map_x` smallint(4) NOT NULL default '0',
- `src_map_y` smallint(4) NOT NULL default '0',
- `dst_charname` varchar(25) NOT NULL default '',
- `message` varchar(150) NOT NULL default '',
- PRIMARY KEY (`id`),
- INDEX (`src_accountid`),
- INDEX (`src_charid`)
-) TYPE=MyISAM AUTO_INCREMENT=1 ;
+#Pick_Log types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take, +# Players (T)rade Give/Take, Players (V)ending Sell/Take, (S)hop Sell/Take, (N)PC Give/Take, +# (C)onsumable Items, (A)dministrators Create/Delete + +#Database: log +#Table: picklog +CREATE TABLE `picklog` ( + `id` int(11) NOT NULL auto_increment, + `time` datetime NOT NULL default '0000-00-00 00:00:00', + `char_id` int(11) NOT NULL default '0', + `type` set('M','P','L','T','V','S','N','C','A') NOT NULL default 'P', + `nameid` int(11) NOT NULL default '0', + `amount` int(11) NOT NULL default '1', + `refine` tinyint(3) unsigned NOT NULL default '0', + `card0` int(11) NOT NULL default '0', + `card1` int(11) NOT NULL default '0', + `card2` int(11) NOT NULL default '0', + `card3` int(11) NOT NULL default '0', + `map` varchar(20) NOT NULL default 'prontera.gat', + PRIMARY KEY (`id`), + INDEX (`type`) +) TYPE=MyISAM AUTO_INCREMENT=1 ; + +#ZenyLog types (M)onsters,(T)rade,(V)ending Sell/Buy,(S)hop Sell/Buy,(N)PC Change amount,(A)dministrators +#Database: log +#Table: zenylog +CREATE TABLE `zenylog` ( + `id` int(11) NOT NULL auto_increment, + `time` datetime NOT NULL default '0000-00-00 00:00:00', + `char_id` int(11) NOT NULL default '0', + `src_id` int(11) NOT NULL default '0', + `type` set('M','T','V','S','N','A') NOT NULL default 'S', + `amount` int(11) NOT NULL default '0', + `map` varchar(20) NOT NULL default 'prontera.gat', + PRIMARY KEY (`id`), + INDEX (`type`) +) TYPE=MyISAM AUTO_INCREMENT=1 ; + +#Database: log +#Table: branchlog +CREATE TABLE `branchlog` ( + `branch_id` mediumint(9) unsigned NOT NULL auto_increment, + `branch_date` datetime NOT NULL default '0000-00-00 00:00:00', + `account_id` int(11) NOT NULL default '0', + `char_id` int(11) NOT NULL default '0', + `char_name` varchar(30) NOT NULL default '', + `map` varchar(20) NOT NULL default 'prontera.gat', + PRIMARY KEY (`branch_id`), + INDEX (`account_id`), + INDEX (`char_id`) +) TYPE=MyISAM AUTO_INCREMENT=1 ; + +#Database: log +#Table: mvplog +CREATE TABLE `mvplog` ( + `mvp_id` mediumint(9) unsigned NOT NULL auto_increment, + `mvp_date` datetime NOT NULL default '0000-00-00 00:00:00', + `kill_char_id` int(11) NOT NULL default '0', + `monster_id` smallint(6) NOT NULL default '0', + `prize` int(11) NOT NULL default '0', + `mvpexp` mediumint(9) NOT NULL default '0', + `map` varchar(20) NOT NULL default 'prontera.gat', + PRIMARY KEY (`mvp_id`) +) TYPE=MyISAM AUTO_INCREMENT=1 ; + +#Database: log +#Table: atcommandlog +CREATE TABLE `atcommandlog` ( + `atcommand_id` mediumint(9) unsigned NOT NULL auto_increment, + `atcommand_date` datetime NOT NULL default '0000-00-00 00:00:00', + `account_id` int(11) unsigned NOT NULL default '0', + `char_id` int(11) unsigned NOT NULL default '0', + `char_name` varchar(30) NOT NULL default '', + `map` varchar(20) NOT NULL default 'prontera.gat', + `command` varchar(50) NOT NULL default '', + PRIMARY KEY (`atcommand_id`), + INDEX (`account_id`), + INDEX (`char_id`) +) TYPE=MyISAM AUTO_INCREMENT=1 ; + +#Database: log +#Table: npclog +CREATE TABLE `npclog` ( + `npc_id` mediumint(9) unsigned NOT NULL auto_increment, + `npc_date` datetime NOT NULL default '0000-00-00 00:00:00', + `account_id` int(11) unsigned NOT NULL default '0', + `char_id` int(11) unsigned NOT NULL default '0', + `char_name` varchar(30) NOT NULL default '', + `map` varchar(20) NOT NULL default 'prontera.gat', + `mes` varchar(255) NOT NULL default '', + PRIMARY KEY (`npc_id`), + INDEX (`account_id`), + INDEX (`char_id`) +) TYPE=MyISAM AUTO_INCREMENT=1 ; + +#ChatLOG +CREATE TABLE `chatlog` ( + `id` bigint(20) NOT NULL auto_increment, + `time` datetime NOT NULL default '0000-00-00 00:00:00', + `type` set('W','P','G') NOT NULL default 'W', + `type_id` int(11) NOT NULL default '0', + `src_charid` int(11) NOT NULL default '0', + `src_accountid` int(11) NOT NULL default '0', + `src_map` varchar(17) NOT NULL default 'prontera.gat', + `src_map_x` smallint(4) NOT NULL default '0', + `src_map_y` smallint(4) NOT NULL default '0', + `dst_charname` varchar(25) NOT NULL default '', + `message` varchar(150) NOT NULL default '', + PRIMARY KEY (`id`), + INDEX (`src_accountid`), + INDEX (`src_charid`) +) TYPE=MyISAM AUTO_INCREMENT=1 ; |