feat(db): add object.fields jsonb column, read it into CatalogueObject

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-02 10:54:49 +02:00
parent 7b0f804461
commit 2aaf98794f
6 changed files with 33 additions and 1 deletions
+2
View File
@@ -62,6 +62,8 @@ pub struct CatalogueObject {
pub recorder: Option<String>,
pub recording_date: Option<Date>,
pub visibility: Visibility,
/// Flexible field values (field key -> value), validated against the registry.
pub fields: serde_json::Value,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
}