feat: update Recipe model to use TEXT type for description and add seed data for products
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `Recipe` MODIFY COLUMN `description` TEXT NULL;
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user