laraverl soft delete code example
Example 1: softdeletes laravel
class Clientes extends Model{ use SoftDeletes; protected $dates = ['deleted_at'];}
Example 2: laravel soft delete
$flights = Flight::where('active', 1)
->orderBy('name')
->take(10)
->get();