Add more seed data
What does this MR do?
Next step towards https://gitlab.com/foodsharing-dev/issues0/issues/285
I merge this now because I figured out the seed API enough to show something. Basic rule is: only need to provide the absolutely necessary data (mostly relations), use Faker for the rest.
At some point in future, it could make sense to split off the
Foodsharing.php helper into domain-specific generators.
It's now quite easy to reproduce the "Germany-forum" performance problems by setting the number of generated users to >10000 in
How confident are you it won't break things if deployed?
Links to related issues
- added a test, or explain why one is not needed/possible...
- no unrelated changes
- asked someone for a code review
- joined #foodsharing-beta channel at https://slackin.yunity.org
- added an entry to CHANGELOG.md (description, merge request link, username(s))