feat: add image_url column to medications table for medication photos

This commit is contained in:
Daniel Volz
2025-12-20 20:54:53 +01:00
parent a0e879e8d2
commit 3b0526c7d0
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,2 @@
-- Migration 0003: Add image_url column for medication photos
ALTER TABLE medications ADD COLUMN image_url TEXT;
@@ -0,0 +1,8 @@
{
"entries": [
{ "idx": 0, "version": 1, "when": 1734633120, "tag": "0000_init", "breakpoint": false },
{ "idx": 1, "version": 1, "when": 1734700000, "tag": "0001_add_strips", "breakpoint": false },
{ "idx": 2, "version": 1, "when": 1734800000, "tag": "0002_pack_inventory", "breakpoint": false },
{ "idx": 3, "version": 1, "when": 1734900000, "tag": "0003_add_image_url", "breakpoint": false }
]
}