hypothetical/database/seeds/DatabaseSeeder.php

19 lines
293 B
PHP
Raw Normal View History

<?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();
}
}