mirror of
https://github.com/devfake/flox.git
synced 2024-11-16 15:12:32 +01:00
23 lines
381 B
PHP
23 lines
381 B
PHP
|
<?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();
|
||
|
|
||
|
$this->call(CategoryTableSeeder::class);
|
||
|
$this->call(ItemTableSeeder::class);
|
||
|
|
||
|
Model::reguard();
|
||
|
}
|
||
|
}
|