predictcovid icon indicating copy to clipboard operation
predictcovid copied to clipboard

prisma Schema Parsing no such argument

Open bozdoz opened this issue 3 years ago • 0 comments

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.

bozdoz avatar May 12 '21 01:05 bozdoz