From: dms Date: Fri, 22 Nov 2002 13:11:32 +0000 (+0000) Subject: - new tables. not used as yet. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=88e54d66d9001c25c1df815bcefd9c698fa60c3b;p=infobot.git - new tables. not used as yet. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@692 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/setup/news.sql b/setup/news.sql new file mode 100644 index 0000000..26351df --- /dev/null +++ b/setup/news.sql @@ -0,0 +1,8 @@ +CREATE TABLE news ( + channel VARCHAR(16) NOT NULL, + id INT UNSIGNED DEFAULT '0', + key VARCHAR(16) NOT NULL, + value TEXT NOT NULL, # limit to ~450 or so. + + PRIMARY KEY (channel,id,key) +); diff --git a/setup/uptime.sql b/setup/uptime.sql new file mode 100644 index 0000000..abfb35a --- /dev/null +++ b/setup/uptime.sql @@ -0,0 +1,8 @@ +CREATE TABLE uptime ( + uptime INT UNSIGNED DEFAULT '0', # start. + endtime INT UNSIGNED DEFAULT '0', # end. + + string VARCHAR(128) NOT NULL, + + PRIMARY KEY (uptime) +);