feat(db): add thumbnail_key and thumbnail_generated_at to documents

Adds two nullable columns to the documents table and their JPA mappings
on the Document entity. Both are left out of the OpenAPI required-mode
schema so the generated TypeScript type exposes them as optional.

Refs #307

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-22 21:34:03 +02:00
parent dd6cbe3a6f
commit 6cf0601590
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
ALTER TABLE documents
ADD COLUMN thumbnail_key VARCHAR(255),
ADD COLUMN thumbnail_generated_at TIMESTAMP;