user search done i think

This commit is contained in:
Reid 2023-08-29 17:07:35 -07:00
parent 2d15914d1a
commit 809d76d530
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
2 changed files with 66 additions and 43 deletions

View file

@ -6,7 +6,9 @@ CREATE TABLE users (
account_id INTEGER references accounts(id),
registered INTEGER NOT NULL,
username TEXT NOT NULL COLLATE case_insensitive,
-- idk why but we get weird errors if we use `COLLATE case_insensitive`
-- maybe troubleshoot later, this works fine for now.
username TEXT NOT NULL, -- COLLATE case_insensitive,
stars INTEGER NOT NULL DEFAULT 0,
demons INTEGER NOT NULL DEFAULT 0,