diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 7bf07a0..38e9eab 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -25,7 +25,7 @@ public function run(): void ->create([ 'name' => 'User', 'email' => 'user@test.com', - 'role' => '2', + 'role_id' => '2', ]); $userRole = Role::create(['name' => 'user']);