Fix Postgres startup: add xui_email before creating its index.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohi
2026-07-26 00:21:20 +03:00
co-authored by Cursor
parent 0acd27d840
commit d1eb49cb83
2 changed files with 4 additions and 9 deletions
-2
View File
@@ -35,8 +35,6 @@ CREATE TABLE IF NOT EXISTS users (
share_password_hash TEXT
);
CREATE INDEX IF NOT EXISTS idx_users_xui_email ON users(xui_email);
CREATE TABLE IF NOT EXISTS user_connections (
id UUID PRIMARY KEY,
user_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE,