laravel revert soft delete code example
Example 1: laravel restore soft delete
Post::withTrashed()->find($post_id)->restore();
Example 2: laravel soft delete
$flights = Flight::where('active', 1)
->orderBy('name')
->take(10)
->get();