]> git.donarmstrong.com Git - infobot.git/blob - blootbot/setup/sqlite/stats.sql
major re-organisation of the different SQL files; cleanup and fixing of the postgres...
[infobot.git] / blootbot / setup / sqlite / 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  time INT UNSIGNED DEFAULT 'UNIX_TIMESTAMP()',
6  counter SMALLINT UNSIGNED DEFAULT '0',
7  PRIMARY KEY (nick,type,channel)
8 );