Force Eliminar suave eliminar laravel
Soft Delete : $user->delete();
Force Delete : $user->forceDelete();
Restore Soft Deleted Item : $user->restore();
Lokesh003Coding
Soft Delete : $user->delete();
Force Delete : $user->forceDelete();
Restore Soft Deleted Item : $user->restore();
Product::onlyTrashed()->find(2)->forceDelete();
Schema::table('flights', function (Blueprint $table) {
$table->softDeletes();
});
Product::onlyTrashed()->where('deleted_at', '<', Carbon::subDays(30))->forceDelete();