Confused about onConflictDoUpdate when having a constraint
I have a table that looks like
and after going through some docs, I was doing an insert like so
However, I get
What am I doing incorrect here?
and after going through some docs, I was doing an insert like so
However, I get
PostgresError: there is no unique or exclusion constraint matching the ON CONFLICT specificationWhat am I doing incorrect here?