You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
456 B

  1. <?php
  2. namespace Database\Seeders;
  3. use App\Models\User;
  4. // use Illuminate\Database\Console\Seeds\WithoutModelEvents;
  5. use Illuminate\Database\Seeder;
  6. class DatabaseSeeder extends Seeder
  7. {
  8. /**
  9. * Seed the application's database.
  10. */
  11. public function run(): void
  12. {
  13. // User::factory(10)->create();
  14. User::factory()->create([
  15. 'name' => 'Test User',
  16. 'email' => 'test@example.com',
  17. ]);
  18. }
  19. }