18 lines
258 B
PHP
18 lines
258 B
PHP
|
<?php
|
||
|
|
||
|
use Illuminate\Database\Seeder;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class DatabaseSeeder extends Seeder
|
||
|
{
|
||
|
/**
|
||
|
* Run the database seeds.
|
||
|
*/
|
||
|
public function run()
|
||
|
{
|
||
|
Model::unguard();
|
||
|
|
||
|
Model::reguard();
|
||
|
}
|
||
|
}
|