feat: enhance bottle metadata with distillation/bottling dates and batch info

This commit is contained in:
2025-12-18 13:24:41 +01:00
parent 61a7966579
commit acf02a78dd
7 changed files with 81 additions and 8 deletions

View File

@@ -55,6 +55,9 @@ export async function saveBottle(
status: 'sealed', // Default status
is_whisky: metadata.is_whisky ?? true,
confidence: metadata.confidence ?? 100,
distilled_at: metadata.distilled_at,
bottled_at: metadata.bottled_at,
batch_info: metadata.batch_info,
})
.select()
.single();