softdelete laravel 8 code example
Example 1: softdeletes laravel
class Clientes extends Model{ use SoftDeletes; protected $dates = ['deleted_at'];}
Example 2: larave Soft Deletes
Schema::table('flights', function (Blueprint $table) {
$table->softDeletes();
});