Hi there,
I’m trying to generate scaffolding on a simple database configuration.
The database schema has a single datamodel “Task”:
Task {
id Int @id @default(autoincrement())
name String
description String?
points Int
bonus Int?
assignee String
dueDate DateTime?
}
After running “yarn rw prisma migrate dev” and then “yarn rw g scaffold task” everything seems to be ok, but trying to add a new task (by “new task” button) I’ve faced out the following error:
I’ve tried to remove the optional option (the question mark) from date field, but no change was made to result.