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()
    {
        DB::table('users')->insert([
            'name' => 'mdcommerce',
            'email' => 'mdcommerce@gmail.com',
            'password' => bcrypt('mdcommerce'),
            'address' => '',
            'phone' => '',
            'role' => 'administrator'
        ]);
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ 'name' => 'mdcommerce' , 'email' => 'mdcommerce@gmail.com' , 'password' => bcrypt ( 'mdcommerce' ) , 'address' => '' , 'phone' => '' , 'role' => 'administrator' ] ) ; }
Run the database seeds.
Run the database seeds .