soft delete models

This commit is contained in:
Andras Bacsai
2023-12-13 12:08:12 +01:00
parent 2dc175be63
commit 69343f974a
10 changed files with 133 additions and 30 deletions

View File

@@ -3,10 +3,11 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\SoftDeletes;
class ServiceDatabase extends BaseModel
{
use HasFactory;
use HasFactory, SoftDeletes;
protected $guarded = [];
protected static function booted()