layhodib
PPrisma
•Created by layhodib on 2/9/2025 in #help-and-questions
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.
4 replies