update table schema
alex wennerberg alex@alexwennerberg.com
Mon, 23 Nov 2020 19:37:41 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.go
→
main.go
@@ -163,7 +163,7 @@ id INTEGER PRIMARY KEY NOT NULL,
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'))