Using knex’s onConflict().merge() is creating duplicate rows in my db?
Exactly as the title says. I’ve got a simple transaction that should determine whether a record exists already, and update it if an image url has changed. Otherwise, create a new record. It looks like this: