]> git.donarmstrong.com Git - infobot.git/blob - setup/stats.sql
- patch from Morten Brix Pedersen <morten@wtf.dk>. Thanks!
[infobot.git] / setup / stats.sql
1 CREATE TABLE stats (
2         nick VARCHAR(20) NOT NULL,
3         type VARCHAR(8) NOT NULL,
4         channel VARCHAR(16) NOT NULL DEFAULT "PRIVATE",
5
6         time INT UNSIGNED DEFAULT 'UNIX_TIMESTAMP()',
7         counter SMALLINT UNSIGNED DEFAULT '0',
8
9         PRIMARY KEY (nick,type,channel)
10 );