fix: PG::CardinalityViolation: ERROR: ON CONFLICT DO UPDATE command cannot affect row a second time (PG::CardinalityViolation) HINT: Ensure that no rows proposed for insertion within the same command have duplicate constrained values.

main-eol
rebuilt 5 months ago
parent 3426e0edea
commit 1da1b238e0

@ -187,8 +187,8 @@ class SurveyResponsesDataLoader
survey_item_response.sped = sped
survey_item_response.student = student
survey_item_response.parent = parent
survey_item_response
survey_item_response.save
[]
else
SurveyItemResponse.new(
response_id: row.response_id,

Loading…
Cancel
Save