Нет описания

DatabaseSeeder.php 557B

1234567891011121314151617181920212223
  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. $sql = file_get_contents(database_path() . '/seeds/biologia.sql');
  13. DB::unprepared($sql);
  14. // $this->call(CourseSeeder::class);
  15. // $this->call(SectionSeeder::class);
  16. // $this->call(ProfessorSeeder::class);
  17. // $this->call(ProfessorSectionSeeder::class);
  18. // $this->call(ProfessorSemesterSeeder::class);
  19. }
  20. }