database/seeders/UserAccount.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([
            'last_name' => 'Backian',
            'first_name' => 'Ian Jones',
            'middle_name' => 'Bulasao',
            'username' => 'jbaki',
            'person_contactnum' => '09091234567',
            'password' => Hash::make('qwerty'),
            'user_role' => 'admin',
            'account_status' => 1,
            'created_at' => Carbon::now()
        ]);
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ 'last_name' => 'Backian' , 'first_name' => 'Ian Jones' , 'middle_name' => 'Bulasao' , 'username' => 'jbaki' , 'person_contactnum' => '09091234567' , 'password' => Hash :: make ( 'qwerty' ) , 'user_role' => 'admin' , 'account_status' => 1 , 'created_at' => Carbon :: now ( ) ] ) ; }
Run the database seeds.
Run the database seeds .