1 |
rabit |
1.1 |
#------------------------------------------------------------------------------- |
2 |
|
|
#-- www.netfrag.org |
3 |
|
|
#-- DB schema sql. |
4 |
|
|
#------------------------------------------------------------------------------- |
5 |
|
|
#-- rabit, 16:28 04.09.2004 |
6 |
rabit |
1.2 |
#-- $Id: nfo.hits.sql,v 1.1 2004/09/04 14:52:32 rabit Exp $ |
7 |
rabit |
1.1 |
#------------------------------------------------------------------------------- |
8 |
|
|
|
9 |
|
|
#--------------------------------------- |
10 |
|
|
#-- Data base: "nfo" |
11 |
|
|
#-- Table: "hits" |
12 |
|
|
#--------------------------------------- |
13 |
|
|
|
14 |
|
|
DROP TABLE IF EXISTS hits; |
15 |
|
|
|
16 |
|
|
CREATE TABLE hits ( |
17 |
|
|
id bigint(20) unsigned NOT NULL auto_increment, |
18 |
|
|
timestamp datetime NOT NULL default '0000-00-00 00:00:00', |
19 |
|
|
address varchar(21) NOT NULL default '', |
20 |
|
|
entryurl varchar(255) NOT NULL default '', |
21 |
|
|
referer varchar(255) default NULL, |
22 |
|
|
sessionid varchar(32) NOT NULL default '', |
23 |
|
|
useragent varchar(255) default NULL, |
24 |
|
|
requestcount int(10) unsigned NOT NULL default '0', |
25 |
rabit |
1.2 |
lastrequest datetime NOT NULL default '0000-00-00 00:00:00', |
26 |
rabit |
1.1 |
PRIMARY KEY (id) |
27 |
|
|
) |
28 |
|
|
TYPE=MyISAM |
29 |
|
|
COMMENT='NFO hit log' |
30 |
|
|
; |
31 |
|
|
|