flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 4ef29f5b6813e3343f9a3743881320f8dd37ce67
parent c638731f1fc483ce0e113894b512c5b6468b27f3
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 23 Nov 2020 19:37:41 -0800

update table schema

Diffstat:
Mmain.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go @@ -163,7 +163,7 @@ func createTablesIfDNE() { username TEXT NOT NULL UNIQUE, email TEXT NOT NULL UNIQUE, password_hash TEXT NOT NULL, - reference TEXT, + reference TEXT NOT NULL default "", active boolean NOT NULL DEFAULT false, admin boolean NOT NULL DEFAULT false, created_at INTEGER DEFAULT (strftime('%s', 'now'))