hide the pivot table data
This commit is contained in:
@@ -10,6 +10,6 @@ class CMMSMachine extends Model
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'cmms_machines';
|
||||
|
||||
protected $hidden = ['pivot'];
|
||||
protected $guarded = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user