From 33926a10a8729982b0e2353810c63f25d888b348 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 8 Sep 2021 15:07:09 +0200 Subject: Removed useless user model code --- pkg/database/migrations.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/database') diff --git a/pkg/database/migrations.go b/pkg/database/migrations.go index 7c74bcf..ada638a 100644 --- a/pkg/database/migrations.go +++ b/pkg/database/migrations.go @@ -15,8 +15,7 @@ var allMigrations = []func(tx *sql.Tx) error{ username TEXT NOT NULL UNIQUE, hash TEXT, email TEXT, - created_at DATE DEFAULT (datetime('now')), - last_login_at DATE DEFAULT NULL + created_at DATE DEFAULT (datetime('now')) ); CREATE TABLE sessions ( token TEXT PRIMARY KEY, -- cgit v1.2.3