DatabaseSeeder.php 601 B

12345678910111213141516171819202122
  1. <?php
  2. use Illuminate\Database\Seeder;
  3. class DatabaseSeeder extends Seeder
  4. {
  5. /**
  6. * Seed the application's database.
  7. *
  8. * @return void
  9. */
  10. public function run()
  11. {
  12. $this->call(AdminUsersTableSeeder::class);
  13. $this->call(AdminPermissionsTableSeeder::class);
  14. $this->call(AdminRolesTableSeeder::class);
  15. $this->call(AdminRolePermissionTableSeeder::class);
  16. $this->call(AdminUserRoleAndPermissionTableSeeder::class);
  17. $this->call(SystemMediaCategoriesTableSeeder::class);
  18. $this->call(SystemMediaTableSeeder::class);
  19. }
  20. }