Skip to content

Commit

Permalink
[UPDATE] schema.prisma add default value for recipes model
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbung committed Oct 11, 2024
1 parent ecfc9bd commit fc768ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ model Recipes {
recipe_thai_name String
total_time DateTime
serving Int
scale_servings Int
hidden_cost Float
labor_cost Float
profit_margin Float
scale_servings Int @default(-1)
hidden_cost Float @default(10)
labor_cost Float @default(150)
profit_margin Float @default(30)
recipe_images Recipe_images[]
recipe_ingredients Recipe_ingredients[]
recipe_eng_instruction_steps Recipe_eng_instruction_steps[]
Expand Down

0 comments on commit fc768ae

Please sign in to comment.