mirror of
https://github.com/GithubOrgProjectPiza/server.git
synced 2026-09-04 00:26:07 +02:00
Merge branch 'DB_schema' into routes-implementation
# Conflicts: # docker-compose.yml
This commit is contained in:
@@ -33,6 +33,7 @@ model Pizza {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
description String?
|
||||
price Decimal
|
||||
restaurant Restaurant @relation(fields: [restaurantId], references: [id])
|
||||
restaurantId Int
|
||||
orders PizzaToOrder[]
|
||||
|
||||
Reference in New Issue
Block a user