suitmedia/suitcoda

View on GitHub
database/seeds/DatabaseSeeder.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Model::unguard();

        $this->call(CategoryTableSeeder::class);
        $this->call(ScopeTableSeeder::class);
        $this->call(SubScopeTableSeeder::class);
        $this->call(CommandsTableSeeder::class);

        Model::reguard();
    }
}