feat: enhance recipe ingredient model; add raw fields and optional properties for better ingredient handling
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-06 07:25:42 +02:00
parent 612fcddb47
commit e4f201ea36
9 changed files with 349 additions and 267 deletions
@@ -0,0 +1,9 @@
ALTER TABLE `RecipeIngredient`
MODIFY `productId` INTEGER NULL,
MODIFY `quantity` DECIMAL(10, 2) NULL,
MODIFY `unit` VARCHAR(191) NULL,
ADD COLUMN `rawName` VARCHAR(191) NOT NULL DEFAULT '',
ADD COLUMN `rawLine` TEXT NULL,
ADD COLUMN `matchConfidence` DOUBLE NULL,
ADD COLUMN `matchSource` VARCHAR(191) NULL,
ADD COLUMN `analysisStatus` VARCHAR(191) NULL;