diff options
Diffstat (limited to 'database/seeders/DatabaseSeeder.php')
-rw-r--r-- | database/seeders/DatabaseSeeder.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000..a9f4519 --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,22 @@ +<?php + +namespace Database\Seeders; + +// use Illuminate\Database\Console\Seeds\WithoutModelEvents; +use Illuminate\Database\Seeder; + +class DatabaseSeeder extends Seeder +{ + /** + * Seed the application's database. + */ + public function run(): void + { + // \App\Models\User::factory(10)->create(); + + // \App\Models\User::factory()->create([ + // 'name' => 'Test User', + // 'email' => 'test@example.com', + // ]); + } +} |