Address input validation review feedback
This commit is contained in:
1 parent
feefadae11
commit
8ad3ca578f
2 files changed
+45
-29
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user