When importing enrollments, a same insert in the database in a race condition leading to an integrity error. Unfortunately, the whole batch of 1000 enrollments is not inserted at allt. Using the parameter ignore_conflicts fix this issue by ignoring already inserted record but still inserting not existing enrollments.
Proposal
[x] ignore conflicts when creating batch of enrollments
Purpose
When importing enrollments, a same insert in the database in a race condition leading to an integrity error. Unfortunately, the whole batch of 1000 enrollments is not inserted at allt. Using the parameter ignore_conflicts fix this issue by ignoring already inserted record but still inserting not existing enrollments.
Proposal