force delete in softdelete laravel code example
Example 1: laravel force delete
Product::find($id)->forceDelete();
Example 2: laravel force delete
Product::onlyTrashed()->where('deleted_at', '<', Carbon::subDays(30))->forceDelete();
Product::find($id)->forceDelete();
Product::onlyTrashed()->where('deleted_at', '<', Carbon::subDays(30))->forceDelete();