Address input validation review feedback

This commit is contained in:
Arun committed 2026-08-13 15:11:25 +00:00
1 parent feefadae11
commit 8ad3ca578f
2 files changed
+45 -29

No files matched your search

+3
View File
@@ -14,6 +14,9 @@ CREATE TABLE IF NOT EXISTS users (
created_at TIMESTAMPTZ DEFAULT now()
);
-- Keep case-insensitive lookups index-backed for legacy mixed-case emails.
CREATE INDEX IF NOT EXISTS idx_users_email_lower ON users (LOWER(email));
-- 帖子表
CREATE TABLE IF NOT EXISTS posts (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),