predictcovid
predictcovid copied to clipboard
prisma Schema Parsing no such argument
I'm trying to get a local running version of this, but I can't get the database up.
- I changed the datasource in schema.prisma to
sqlite
which was mentioned in another issue. - 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.