init push

This commit is contained in:
2026-07-16 22:16:45 +07:00
commit 8b068bdb10
1021 changed files with 332816 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
-- +goose Up
-- Username uniqueness is now enforced in the backend for contact flows,
-- so keep a regular index for lookups instead of a unique constraint.
DROP INDEX IF EXISTS idx_users_username ON users;
CREATE INDEX idx_users_username
ON users (username);
-- +goose Down
DROP INDEX IF EXISTS idx_users_username ON users;
CREATE UNIQUE INDEX idx_users_username
ON users (username);
iya