Describe the bug
The setting of users as leads / members is being done before the users are created, an issue for example on the Demo repo which assumes a clean db.
To Reproduce
Steps to reproduce the behavior:
New database
Start the population: an error is thrown when setting a user as a lead as the user does not yet exist
Expected behavior
Users should be created, without any assignments, before the challenges etc are created / updated. This is what is done with organizations.
Describe the bug The setting of users as leads / members is being done before the users are created, an issue for example on the Demo repo which assumes a clean db.
To Reproduce Steps to reproduce the behavior:
Expected behavior Users should be created, without any assignments, before the challenges etc are created / updated. This is what is done with organizations.