database/seeds/CustomerSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Customer::create([
            'first_name' => 'Rahul',
            'last_name' => 'Thapa',
            'username' => 'rahulthapa',
            'email' => 'rahulthapa043@gmail.com',
            'mobile_no' => '9816491822',
            'address' => 'Devdaha-10, Charange',
            'gender' => 'male',
            'password' => bcrypt('rahulthapa043'),
            'display_name' => 'Rahul Thapa'
        ]);
    }
public function run ( ) { Customer :: create ( [ 'first_name' => 'Rahul' , 'last_name' => 'Thapa' , 'username' => 'rahulthapa' , 'email' => 'rahulthapa043@gmail.com' , 'mobile_no' => '9816491822' , 'address' => 'Devdaha-10, Charange' , 'gender' => 'male' , 'password' => bcrypt ( 'rahulthapa043' ) , 'display_name' => 'Rahul Thapa' ] ) ; }
Run the database seeds.
Run the database seeds .