This small PR adds some more database seeders. Previuosly, php artisan migrate:fresh --seed would populate the user, roles, permissions tables with a set of test users, but there were still things missing that would need to be recreated each time.
With this update, we can now completely refresh the database with php artisan migrate:fresh --seed, and get a new database with:
All the continents, regions and countries from the UN 49 standard
The redlines and principles tables fully populated (as per the assessment tool from last December)
A test organisation, with 1 test portfolio and 1 test project, immediately ready for testing.
These seeders are intended to be used for manual reviews, but could also be used for automated testing.
This small PR adds some more database seeders. Previuosly,
php artisan migrate:fresh --seed
would populate the user, roles, permissions tables with a set of test users, but there were still things missing that would need to be recreated each time.With this update, we can now completely refresh the database with
php artisan migrate:fresh --seed
, and get a new database with:These seeders are intended to be used for manual reviews, but could also be used for automated testing.