rbrecruiter/database/seeders
Miguel Nogueira bc8570019c
Force TeamSeeder to skip creating existing permissions
TeamSeeder previously created permissions that already existed, if the migration had ran twice. This commit forces the seeder to verify if the permission it's attempting to create already exists, and if not, it creates it and assigns them at the end.

THis prevents an error from appearing if these permissions were created manually. In this case, the seeder will only assign the permissions instead of creating them.
2020-12-21 00:48:21 +00:00
..
DatabaseSeeder.php Minor fixes 2020-12-07 17:48:15 +00:00
DefaultOptionsSeeder.php Recent changes 2020-11-02 21:44:05 +00:00
NewPermissions.php Recent changes 2020-11-02 21:44:05 +00:00
PermissionSeeder.php Refactored seeders 2020-12-08 14:56:19 +00:00
TeamSeeder.php Force TeamSeeder to skip creating existing permissions 2020-12-21 00:48:21 +00:00
UserSeeder.php Recent changes 2020-11-02 21:44:05 +00:00