feat: account purge handler, tombstone cleanup, AP tombstone signing + 410

This commit is contained in:
2026-10-26 02:30:09 +01:00
parent 9a03de8956
commit 51a70b5260
32 changed files with 1708 additions and 27 deletions

View File

@@ -1,4 +1,7 @@
ALTER TABLE users ADD COLUMN deleted_at TEXT;
-- Set once the account's data is purged; the stripped row (and the signing
-- keypair) stays until the tombstone cleanup removes it.
ALTER TABLE users ADD COLUMN purged_at TEXT;
CREATE TABLE retired_usernames (
username TEXT PRIMARY KEY COLLATE NOCASE,