Closed decapo01 closed 2 years ago
I figured it out. I needed to use literal
. Also, I don't want the db to keep track of the id so I changed personId :: ID UUID
to personId :: UUID
My code now looks like this for anyone else that comes across this
I'm attempting to use UUIDs as primary keys and I'm unable to use them as restriction conditions.
the exact error is this
Is there a way to construct the column with a UUID?