]> git.donarmstrong.com Git - infobot.git/commitdiff
- new tables. not used as yet.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 22 Nov 2002 13:11:32 +0000 (13:11 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 22 Nov 2002 13:11:32 +0000 (13:11 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@692 c11ca15a-4712-0410-83d8-924469b57eb5

setup/news.sql [new file with mode: 0644]
setup/uptime.sql [new file with mode: 0644]

diff --git a/setup/news.sql b/setup/news.sql
new file mode 100644 (file)
index 0000000..26351df
--- /dev/null
@@ -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 (file)
index 0000000..abfb35a
--- /dev/null
@@ -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)
+);