Add owner-only room backup snapshots and audited exports

This commit is contained in:
Quintine committed 2026-09-28 20:12:57 +10:00
1 parent 92564f8de5
commit 53a1ba77a1
19 files changed
+5613 -4

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
CREATE TABLE `admin_room_backup_downloads` (
`download_id` text PRIMARY KEY NOT NULL,
`operation_id` text NOT NULL,
`actor_admin_id` text NOT NULL,
`room_code` text NOT NULL,
`created_at` integer NOT NULL
);
--> statement-breakpoint
CREATE INDEX `admin_room_backup_downloads_room` ON `admin_room_backup_downloads` (`room_code`,`created_at`);