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

prisma Schema Parsing no such argument #12

Open
bozdoz opened this issue May 12, 2021 · 0 comments
Open

prisma Schema Parsing no such argument #12

bozdoz opened this issue May 12, 2021 · 0 comments

Comments

@bozdoz
Copy link

bozdoz commented May 12, 2021

I'm trying to get a local running version of this, but I can't get the database up.

  1. I changed the datasource in schema.prisma to sqlite which was mentioned in another issue.
  2. I ran yarn redwood db up

The error I'm getting is:

Error: Schema parsing
error: No such argument.
  -->  schema.prisma:29
   | 
28 |   id                Int     @id @default(autoincrement())
29 |   date              Day     @relation(fields: [dayId], references: [id])
   | 
error: No such argument.
  -->  schema.prisma:30
   | 
29 |   date              Day     @relation(fields: [dayId], references: [id])
30 |   country           Country @relation(fields: [countryId], references: [id])
   | 

Validation Error Count: 2

Any advice would be great! I'd love to help with #4 too.

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

1 participant