aboutsummaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 07:29:56 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 07:29:56 +0800
commitdd6df3273922b61b41e0e3ec172c6c7db99cadc4 (patch)
treee754b25ed8cb646f381ca16e981bc6c77ed0007e /schema.sql
parenthttp_handle_*.go: Use fmt.Fprintln, not w.Write (diff)
downloadforge-dd6df3273922b61b41e0e3ec172c6c7db99cadc4.tar.gz
forge-dd6df3273922b61b41e0e3ec172c6c7db99cadc4.tar.zst
forge-dd6df3273922b61b41e0e3ec172c6c7db99cadc4.zip
login: Implement password validation
Diffstat (limited to '')
-rw-r--r--schema.sql1
1 files changed, 0 insertions, 1 deletions
diff --git a/schema.sql b/schema.sql
index 6317819..aa5e38e 100644
--- a/schema.sql
+++ b/schema.sql
@@ -47,7 +47,6 @@ CREATE TABLE emails (
CREATE TABLE users (
id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
username TEXT NOT NULL UNIQUE,
- password_algorithm TEXT NOT NULL CHECK (password_algorithm in ('argon2id')),
password TEXT NOT NULL
);