hypothetical/database/seeds/DatabaseSeeder.php

19 lines
284 B
PHP
Raw Normal View History

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