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.

27 lines
593 B

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