how to update the records in database migration in laravel code example
Example: alter row in table laravel
$flight = App\Flight::find(1);
$flight->name = 'New Flight Name';
$flight->save();
$flight = App\Flight::find(1);
$flight->name = 'New Flight Name';
$flight->save();