2015-07-12 21:01:42 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
2019-09-06 23:14:39 +02:00
|
|
|
* Seed the application's database.
|
2015-07-12 21:01:42 +02:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
Model::unguard();
|
|
|
|
|
|
|
|
// $this->call(UserTableSeeder::class);
|
|
|
|
|
|
|
|
Model::reguard();
|
|
|
|
}
|
|
|
|
}
|