database/seeds/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        App\User::create(
            [
                'administrator' => true,
                'name' => 'Rafael Henrique Berro',
                'email' => 'rhberro@gmail.com',
                'password' => bcrypt('123123'),
                'remember_token' => str_random(10),
            ]
        );
        factory(App\User::class, 100)->create();
    }
public function run ( ) { App \ User :: create ( [ 'administrator' => true , 'name' => 'Rafael Henrique Berro' , 'email' => 'rhberro@gmail.com' , 'password' => bcrypt ( '123123' ) , 'remember_token' => str_random ( 10 ) , ] ) ; factory ( App \ User :: class , 100 ) -> create ( ) ; }
Run the database seeds.
Run the database seeds .
/**
         * Cria o primeiro usuário para desenvolvimento e
         * testes.
         */