database/seeds/DatabaseSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Model::unguard();
        $this->call(UserTableSeeder::class);
        $this->call(Category::class);
        $this->call(OrderTableSeeder::class);
        $this->call(CupomTableSeeder::class);
        Model::reguard();
    }
public function run ( ) { Model :: unguard ( ) ; $ this -> call ( UserTableSeeder :: class ) ; $ this -> call ( Category :: class ) ; $ this -> call ( OrderTableSeeder :: class ) ; $ this -> call ( CupomTableSeeder :: class ) ; Model :: reguard ( ) ; }
Run the database seeds.
Run the database seeds .