database/seeders/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        $this->call(PlansSeeder::class);
        $this->call(RolesSeeder::class);
        if (app()->environment() != "production") {
            $this->call(UsersSeeder::class);
            $this->call(ContactsSeeder::class);
        }
    }
public function run ( ) { $ this -> call ( PlansSeeder :: class ) ; $ this -> call ( RolesSeeder :: class ) ; if ( app ( ) -> environment ( ) != " production " ) { $ this -> call ( UsersSeeder :: class ) ; $ this -> call ( ContactsSeeder :: class ) ; } }
Seed the application's database.
Seed the application ' s database .