hide the pivot table data

This commit is contained in:
2024-12-24 14:16:36 +03:30
parent 70872af9ac
commit 765e155b25
2 changed files with 3 additions and 3 deletions

View File

@@ -10,6 +10,6 @@ class CMMSMachine extends Model
use HasFactory;
protected $table = 'cmms_machines';
protected $hidden = ['pivot'];
protected $guarded = [];
}