Nullable Datetime Field
hello i'm trying to create a field
last_purchase_date
but there's a case where user has not purchased yet so i want the field to be null.
this is what i have in schema.prisma
and this seems to work, the field can be null, but when i try to query it with prisma i get this error.
3 Replies
You decided to hold for human wisdom. We'll chime in soon! Meanwhile,
#ask-ai
is there if you need a quick second opinion.It’s working now, I believe I just needed to rerun ‘npm run dev’
Glad to hear that its working 👍