database/seeds/UserTableSeeder.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([
            'full_name' => 'Ronald Windwaai',
            'password' => bcrypt('adminadmin'),
            'email' => 'ronaldwindwaai@gmail.com',
            'country' => 'Kenya',
            'verified' => true,
            'signup_terms' => true,
        ]);
        $user->assignRole('super-admin');
    }
public function run ( ) { $ user = User :: create ( [ 'full_name' => 'Ronald Windwaai' , 'password' => bcrypt ( 'adminadmin' ) , 'email' => 'ronaldwindwaai@gmail.com' , 'country' => 'Kenya' , 'verified' => true , 'signup_terms' => true , ] ) ; $ user -> assignRole ( 'super-admin' ) ; }
Run the database seeds.
Run the database seeds .