feat: add bottle editing and purchase price tracking

This commit is contained in:
2025-12-18 12:16:01 +01:00
parent 6e09300bab
commit 970dabbbf6
5 changed files with 234 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ CREATE TABLE IF NOT EXISTS bottles (
status TEXT DEFAULT 'sealed' CHECK (status IN ('sealed', 'open', 'sampled', 'empty')),
whiskybase_id TEXT,
image_url TEXT,
purchase_price DECIMAL(10, 2),
is_whisky BOOLEAN DEFAULT true,
confidence INTEGER DEFAULT 100,
created_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('Europe/Berlin'::text, now()),