database/seeds/UserSeed.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $user = User::create([
            'name' => 'Jacobo',
            'email' => 'hispanicusverbos@gmail.com',
            'password' => bcrypt('password')
        ]);
        $user->assign('administrator');
    }
public function run ( ) { $ user = User :: create ( [ 'name' => 'Jacobo' , 'email' => 'hispanicusverbos@gmail.com' , 'password' => bcrypt ( 'password' ) ] ) ; $ user -> assign ( 'administrator' ) ; }
Run the database seeds.
Run the database seeds .