From 300f3be8b5166c82b50b5bdbcb8d35ce2ee662df Mon Sep 17 00:00:00 2001 From: NoAvatar Date: Wed, 16 Oct 2024 02:48:25 +1000 Subject: [PATCH] Clean DatabaseSeeder user seeding --- database/seeders/DatabaseSeeder.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index d01a0ef..d6268e6 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -2,22 +2,12 @@ namespace Database\Seeders; -use App\Models\User; -// use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { - /** - * Seed the application's database. - */ public function run(): void { - // User::factory(10)->create(); - - User::factory()->create([ - 'name' => 'Test User', - 'email' => 'test@example.com', - ]); + // } }