database/seeders/UserSeeder.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' => 'admin', "email" => "example@gmail.com", "password" => bcrypt("123456")],
            ['name' => 'public', "email" => "example_p@gmail.com", "password" => bcrypt("123456")]
        ]);
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ [ 'name' => 'admin' , " email " => " example@gmail.com " , " password " => bcrypt ( " 123456 " ) ] , [ 'name' => 'public' , " email " => " example_p@gmail.com " , " password " => bcrypt ( " 123456 " ) ] ] ) ; }
Run the database seeds.
Run the database seeds .