mirror of
https://github.com/GithubOrgProjectPiza/server.git
synced 2026-09-04 00:26:07 +02:00
Add price to prisma schema
This commit is contained in:
@@ -32,6 +32,7 @@ model Pizza {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique
|
||||
description String?
|
||||
price Decimal
|
||||
restaurant Restaurant @relation(fields: [restaurantId], references: [id])
|
||||
restaurantId Int
|
||||
orders PizzaToOrder[]
|
||||
|
||||
Reference in New Issue
Block a user