Allow cleaning of seed data
Description
The SeedCommand command clears database tables before seeding with new data (see Foodsharing:clear()), which doesn't work properly. Also, this shouldn't be part of the seed command. It would be better to have an independent command similar to ./scripts/seed
that clears tables.
Goal
Make seeding and testing simpler
- find out why the current clearing doesn't properly remove the data
- check if the table list in the
clear
function is up to date (there are probably some missing) - add an additional command (in the script directory?) that runs the cleaning without seeding