Closed PeterBooker closed 10 months ago
We can test with the kirkensbymisjon project, which has over 1000 users.
I found that we can pass a seed to the existing faker library, however I need to test that this actually results in enough unique email addresses for our needs. If not, I will need to keep track of emails generated and ensure that they are unique manually.
This issue came up again for another client. Update to the above comment passing a seed is not enough, we will need to use another faker library which supports unique values or keep track of emails manually, to ensure that they are unique.
It is possible for the faker to make more than one users email the same email address, resulting in a duplicate key error when importing the anonymized database.
We should find a way to ensure that anonymized keys are unique.