Clarify storage limits and unify file metadata displays

This commit is contained in:
2026-10-15 11:23:33 +09:00
parent 3786baf60c
commit 471e2653d8
22 changed files with 401 additions and 84 deletions

View File

@@ -0,0 +1,8 @@
CREATE TABLE `file_upload_contexts` (
`fileId` text PRIMARY KEY NOT NULL,
`context` text NOT NULL,
`expiresAt` integer NOT NULL,
FOREIGN KEY (`fileId`) REFERENCES `files`(`id`) ON DELETE CASCADE
);
--> statement-breakpoint
CREATE INDEX `file_upload_context_expiry` ON `file_upload_contexts` (`expiresAt`);