diff --git a/database/factories/RoleFactory.php b/database/factories/RoleFactory.php index 673a47d..32098ad 100644 --- a/database/factories/RoleFactory.php +++ b/database/factories/RoleFactory.php @@ -17,7 +17,7 @@ class RoleFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name(), + 'name' => $this->faker->name(), ]; } } diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 373025e..c5dff83 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -16,10 +16,10 @@ class DatabaseSeeder extends Seeder public function run() { //roles - \App\Models\role::factory()->create([ + \App\Models\Role::factory()->create([ "name"=>"Admin" ]); - \App\Models\role::factory()->create([ + \App\Models\Role::factory()->create([ "name"=>"User" ]);