Merge branch 'fix-request-access': public account request flow

# Conflicts:
#	src/web/static/app.css
This commit is contained in:
2026-09-06 18:04:19 +00:00
12 changed files with 445 additions and 12 deletions
+12
View File
@@ -0,0 +1,12 @@
CREATE TABLE account_requests (
id INTEGER PRIMARY KEY AUTOINCREMENT,
email TEXT NOT NULL COLLATE NOCASE,
reason TEXT,
status TEXT NOT NULL CHECK (status IN ('open', 'done')) DEFAULT 'open',
requested_at TEXT NOT NULL,
handled_at TEXT,
handled_by INTEGER REFERENCES users(id) ON DELETE SET NULL
);
CREATE UNIQUE INDEX idx_account_requests_open_email
ON account_requests(email) WHERE status = 'open';