hypothetical/database/seeds/DatabaseSeeder.php
2018-11-02 18:12:07 -04:00

18 lines
293 B
PHP

<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
Model::unguard();
Model::reguard();
}
}