<?php

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $this->call(RolesTableSeeder::class);
        $this->call(UsersTableSeeder::class);
        $this->call(CategoriesTableSeeder::class);
        $this->call(TrendCategoriesTableSeeder::class);
        $this->call(ProjectCategoriesTableSeeder::class);
        $this->call(CountriesTableSeeder::class);
        $this->call(WilayasTableSeeder::class);
        $this->call(CommunesTableSeeder::class);
        // if( App::environment() === 'development' || App::environment() === 'local' ) {
        //     $this->call(RolesTableSeeder::class);
        //     $this->call(UsersTableSeeder::class);
        //     $this->call(CompaniesTableSeeder::class);
        //     $this->call(CategoriesTableSeeder::class);
        //     $this->call(BrandsTableSeeder::class);
        //     $this->call(ProductsTableSeeder::class);
        //     //$this->call(PlacesTableSeeder::class);
        //     $this->call(TrendCategoriesTableSeeder::class);
        //     $this->call(TrendsTableSeeder::class);
        //     $this->call(TrendAssociationsTableSeeder::class);
        //     $this->call(CataloguesTableSeeder::class);
        //     $this->call(ProjectCategoriesTableSeeder::class);
        //     $this->call(ProjectsTableSeeder::class);
        //     $this->call(ProjectAssociationsTableSeeder::class);
        //     $this->call(CountriesTableSeeder::class);
        //     $this->call(SalonsTableSeeder::class);
        //     $this->call(WilayasTableSeeder::class);
        //     $this->call(CommunesTableSeeder::class);
        // }else{
        //     $this->call(RolesTableSeeder::class);
        //     $this->call(UsersTableSeeder::class);
        //     $this->call(CategoriesTableSeeder::class);
        //     $this->call(TrendCategoriesTableSeeder::class);
        //     $this->call(ProjectCategoriesTableSeeder::class);
        //     $this->call(CountriesTableSeeder::class);
        //     $this->call(WilayasTableSeeder::class);
        //     $this->call(CommunesTableSeeder::class);
        // }
    }
}
