From 77de84d5a021a3849728b4a68d79fc2110af125c Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 20 Oct 2019 17:03:46 -0400 Subject: [PATCH] forgot to add expiry column --- schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.sql b/schema.sql index e28b090..7732d9f 100644 --- a/schema.sql +++ b/schema.sql @@ -27,7 +27,7 @@ create index idx_hfcsuser on hfcs(userid); create table config (key text, value text); create table users (userid integer primary key, username text, hash text, displayname text, about text, pubkey text, seckey text, options text); -create table auth (authid integer primary key, userid integer, hash text); +create table auth (authid integer primary key, userid integer, hash text, expiry text); CREATE index idxusers_username on users(username); CREATE index idxauth_userid on auth(userid); CREATE index idxauth_hash on auth(hash);