summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/logs.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index 332873648..25a52443b 100644
--- a/sql-files/logs.sql
+++ b/sql-files/logs.sql
@@ -151,4 +151,17 @@ CREATE TABLE `atcommandlog` (
`map` varchar(20) NOT NULL default '',
`command` varchar(50) NOT NULL default '',
PRIMARY KEY (`atcommand_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 '',
+ `mes` varchar(255) NOT NULL default '',
+ PRIMARY KEY (`npc_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ; \ No newline at end of file