database/seeds/Users.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      DB::table('users')->insert([
          'name' => 'Leo',
          'email' => 'leo@test.com',
          'password' => Hash::make('123456'),
          'auth_level' => 0
      ]);  
      DB::table('users')->insert([
          'name' => 'Flor',
          'email' => 'flor@flor.com',
          'password' => Hash::make('123456'),
          'auth_level' => 1
      ]);  
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ 'name' => 'Leo' , 'email' => 'leo@test.com' , 'password' => Hash :: make ( '123456' ) , 'auth_level' => 0 ] ) ; DB :: table ( 'users' ) -> insert ( [ 'name' => 'Flor' , 'email' => 'flor@flor.com' , 'password' => Hash :: make ( '123456' ) , 'auth_level' => 1 ] ) ; }
Run the database seeds.
Run the database seeds .