From dd6df3273922b61b41e0e3ec172c6c7db99cadc4 Mon Sep 17 00:00:00 2001
From: Runxi Yu <me@runxiyu.org>
Date: Thu, 13 Feb 2025 07:29:56 +0800
Subject: login: Implement password validation

---
 schema.sql | 1 -
 1 file changed, 1 deletion(-)

(limited to 'schema.sql')

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
 );
 
-- 
cgit v1.2.3

