aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-22 02:11:50 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-22 02:11:50 +0200
commit1e0433c9df062ead21d0f46b15d088622b7d5c4f (patch)
treecc894172ca7deae5d835aea8f313da3aab1e2915 /Makefile
parent3ea978c60ee03dba2cb883ba18d3b334cfbf6cd0 (diff)
downloadcforum-1e0433c9df062ead21d0f46b15d088622b7d5c4f.tar.gz
Log in, log outHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f6f78ac..ae09e1c 100644
--- a/Makefile
+++ b/Makefile
@@ -37,4 +37,5 @@ db:
sqlite3 db "INSERT INTO posts values(NULL, 1, 1462137896, NULL, 'Hello World!', 'This is the first post.');"
sqlite3 db "INSERT INTO posts values(1, 1, 1462138896, NULL, 'Re: Hello World!', 'This is the second post!');"
sqlite3 db "CREATE TABLE atts(post INT NOT NULL, name NOT NULL, desc, mime NOT NULL, data BLOB, FOREIGN KEY (post) REFERENCES posts(oid));"
- sqlite3 db "$$(printf "INSERT INTO atts values(1, 'example', 'Some example shell code.', 'text/plain', '#!/bin/sh\necho Hello World!');")" \ No newline at end of file
+ sqlite3 db "$$(printf "INSERT INTO atts values(1, 'example', 'Some example shell code.', 'text/plain', '#!/bin/sh\necho Hello World!');")"
+ sqlite3 db "CREATE TABLE sessions(user INT NOT NULL, string NOT NULL, created INT NOT NULL, FOREIGN KEY (user) REFERENCES users(oid));"