Нет описания

DatabaseSeeder.php 334B

12345678910111213141516171819202122
  1. <?php
  2. use Illuminate\Database\Seeder;
  3. use Illuminate\Database\Eloquent\Model;
  4. class DatabaseSeeder extends Seeder
  5. {
  6. /**
  7. * Run the database seeds.
  8. *
  9. * @return void
  10. */
  11. public function run()
  12. {
  13. Model::unguard();
  14. // $this->call(UserTableSeeder::class);
  15. Model::reguard();
  16. }
  17. }