-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
- add code schema.prisma
- start:dev
- enum path error
model Place {
id Int @id @default(autoincrement())
name String
stamps Stamp[]
}
model Stamp {
id Int @id @default(autoincrement())
count String
mealType MealType @default(breakfast)
place Place? @relation(fields: [placeId], references: [id])
placeId Int?
}
enum MealType {
breakfast
lunch
dinner
night
}
Metadata
Metadata
Assignees
Labels
No labels