Update Table
migrate:fresh Drop all tables and re-run all migrations
migrate:install Create the migration repository
migrate:refresh Reset and re-run all migrations
migrate:reset Rollback all database migrations
migrate:rollback Rollback the last database migration
migrate:status Show the status of each migration
for specific table
php artisan migrate:refresh --path=/database/migrations/table_name.php
$name=Input::get('name');
DB::table('attendence')
->where('name',$name)
->update([
'checkedout' => $this->data->checkedout,
'type'=> $this->data->type,
]);
return redirect('attendence')->with('Thank You!');