database/seeds/CreateUsers.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' => 'Bananas Café', 
        	'email' => 'admin@gmail.com',
            'password' => bcrypt('123456'),
            'user_type' => 'admin'
        ]);
        $user = User::create([
        	'name' => 'Diêgo Pessoa', 
        	'email' => 'funcionario@gmail.com',
            'password' => bcrypt('123456'),
            'user_type' => 'funcionario'
        ]);
    }
public function run ( ) { $ user = User :: create ( [ 'name' => 'Bananas Café', 'email' => 'admin@gmail.com' , 'password' => bcrypt ( '123456' ) , 'user_type' => 'admin' ] ) ; $ user = User :: create ( [ 'name' => 'Diêgo Pessoa', 'email' => 'funcionario@gmail.com' , 'password' => bcrypt ( '123456' ) , 'user_type' => 'funcionario' ] ) ; }
Run the database seeds.
Run the database seeds .