case-insensitive UserHandles

This commit is contained in:
2026-02-24 02:06:24 +01:00
parent 1e7866a293
commit fcf43dc0bc
2 changed files with 16 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
CREATE TABLE users (
id BLOB NOT NULL UNIQUE PRIMARY KEY, -- UUIDv7 as bytes
handle TEXT NOT NULL UNIQUE,
handle TEXT NOT NULL UNIQUE COLLATE NOCASE,
password TEXT, -- hashed, nullable in case of OAuth2-only login
prof_pic TEXT -- link probably
);