shareable upload tokens
This commit is contained in:
@@ -12,3 +12,11 @@ CREATE TABLE IF NOT EXISTS files (
|
||||
passhash text
|
||||
);
|
||||
EOF
|
||||
|
||||
cat <<'EOF' | sqlite3 "$1"
|
||||
CREATE TABLE IF NOT EXISTS upload_tokens (
|
||||
token text PRIMARY KEY,
|
||||
added integer NOT NULL,
|
||||
expires integer NOT NULL
|
||||
);
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user