Fix DatabaseSeeder to call specific seeders instead of using factories

This commit is contained in:
TheMaddax 2025-12-17 20:55:57 -07:00
parent 5d9997d3a6
commit f203bb03eb

View file

@ -15,11 +15,10 @@ class DatabaseSeeder extends Seeder
*/ */
public function run(): void public function run(): void
{ {
// User::factory(10)->create(); // Call specific seeders instead of using factories
$this->call([
User::factory()->create([ AdminSeeder::class,
'name' => 'Test User', V1DataMigrationSeeder::class,
'email' => 'test@example.com',
]); ]);
} }
} }