Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enum path error #115

Open
MinJungHyun opened this issue Jan 18, 2023 · 1 comment
Open

enum path error #115

MinJungHyun opened this issue Jan 18, 2023 · 1 comment

Comments

@MinJungHyun
Copy link
Contributor

MinJungHyun commented Jan 18, 2023

  1. add code schema.prisma
  2. start:dev
  3. 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
}
@mk668a
Copy link
Owner

mk668a commented May 9, 2023

fixed enum path problem in v1.0.4, please check: v1.0.3...v1.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants