feat: update Recipe model to use TEXT type for description and add seed data for products

This commit is contained in:
Nils-Johan Gynther
2026-04-16 18:53:48 +02:00
parent 66003f2485
commit 3f4fe890df
3 changed files with 201 additions and 1 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `Recipe` MODIFY COLUMN `description` TEXT NULL;
+1 -1
View File
@@ -63,7 +63,7 @@ model InventoryConsumption {
model Recipe {
id Int @id @default(autoincrement())
name String
description String?
description String? @db.Text
instructions String? @db.Text
imageUrl String?
createdAt DateTime @default(now())