use the underlying composite primary key to dedupe the upserts
fixes: "PG::CardinalityViolation: ERROR: ON CONFLICT DO UPDATE command cannot affect row a second time
HINT: Ensure that no rows proposed for insertion within the same command have duplicate constrained values"
use the underlying composite primary key to dedupe the upserts
fixes: "PG::CardinalityViolation: ERROR: ON CONFLICT DO UPDATE command cannot affect row a second time HINT: Ensure that no rows proposed for insertion within the same command have duplicate constrained values"
https://rollbar.com/Zooniverse/ZooStatsGraphql/items/40/