diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-22 02:11:50 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-22 02:11:50 +0200 |
commit | 1e0433c9df062ead21d0f46b15d088622b7d5c4f (patch) | |
tree | cc894172ca7deae5d835aea8f313da3aab1e2915 /Makefile | |
parent | 3ea978c60ee03dba2cb883ba18d3b334cfbf6cd0 (diff) | |
download | cforum-1e0433c9df062ead21d0f46b15d088622b7d5c4f.tar.gz |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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));" |