aboutsummaryrefslogtreecommitdiffstats
path: root/doc/seen.sql
diff options
context:
space:
mode:
authorMárcio Silva <coadde at hyperbola dot info>2017-06-02 15:44:54 -0300
committerMárcio Silva <coadde at hyperbola dot info>2017-06-02 15:44:54 -0300
commitb4830e97ae51396ccaa9ca2acb469aef80094ae8 (patch)
treec069b1ef6f9189848726121afa8d815e4e56d138 /doc/seen.sql
downloadhyperbot-b4830e97ae51396ccaa9ca2acb469aef80094ae8.tar.lz
hyperbot-b4830e97ae51396ccaa9ca2acb469aef80094ae8.tar.xz
hyperbot-b4830e97ae51396ccaa9ca2acb469aef80094ae8.zip
Add initial files from envbot v0.1-beta1
Diffstat (limited to 'doc/seen.sql')
-rw-r--r--doc/seen.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/seen.sql b/doc/seen.sql
new file mode 100644
index 0000000..f10e5d0
--- /dev/null
+++ b/doc/seen.sql
@@ -0,0 +1,15 @@
+/*
+ * This is how to create a factoid database
+ * Use this file like this:
+ * sqlite3 -batch data/envbot.db < doc/seen.sql
+ *
+ * If you use another table name, change below in
+ * both places
+ */
+DROP TABLE IF EXISTS seen;
+CREATE TABLE seen (
+ nick TEXT UNIQUE NOT NULL PRIMARY KEY,
+ channel TEXT NOT NULL,
+ timestamp TEXT NOT NULL,
+ message TEXT NOT NULL
+);