From: dms Date: Fri, 18 May 2001 15:21:20 +0000 (+0000) Subject: - new, removed, modified files X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7ce4b87d91c384ad6a7d2922b933de315f8a8691;p=infobot.git - new, removed, modified files git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@492 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/setup/karma.sql b/blootbot/setup/karma.sql deleted file mode 100644 index 21c5db7..0000000 --- a/blootbot/setup/karma.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE karma ( - nick VARCHAR(20) NOT NULL, - karma SMALLINT, - - PRIMARY KEY (nick) -); diff --git a/blootbot/setup/seen.sql b/blootbot/setup/seen.sql index 2672ba6..20b4966 100644 --- a/blootbot/setup/seen.sql +++ b/blootbot/setup/seen.sql @@ -3,8 +3,6 @@ CREATE TABLE seen ( time INT NOT NULL, channel VARCHAR(20) NOT NULL, host VARCHAR(80) NOT NULL, - messagecount SMALLINT UNSIGNED, - hehcount SMALLINT UNSIGNED, message TINYTEXT NOT NULL, PRIMARY KEY (nick) diff --git a/blootbot/setup/stats.sql b/blootbot/setup/stats.sql new file mode 100644 index 0000000..d1b7b2f --- /dev/null +++ b/blootbot/setup/stats.sql @@ -0,0 +1,8 @@ +CREATE TABLE stats ( + nick VARCHAR(20) NOT NULL, + type VARCHAR(8) NOT NULL, + + counter SMALLINT UNSIGNED DEFAULT '0', + + PRIMARY KEY (nick,type) +);