Open beerdedfellow opened 1 year ago
FWIW, this is broken on Prisma level.
Workaround would be to add some kind of setting to calendarDay to not use native database types for postgresql and mysql. Error does not happen for sqlite because it uses String in this case.
Same issue here!
Steps to reproduce
My apologies if this has been brought up. I've searched through the issues and found some that are related, but don't report this exactly. I have the following:
I have a
Milestones
schema/list with a field calleddue_date
that is required. I am attempting to set a full-date string as the default value like the docs recommended:However, when I run
keystone prisma migrate dev
this produces the following error:So I attempted to adjust the value to fit rfc3339 date-time format:
I then receive the following error:
Please describe what you expected to happen
calendarDay()
field should accept ISO8601 full-date string format as a default valuePlease add contextual information such as your node version (node -v), or the web browser you used