Merge pull request #95 from witelgroup/bugfix/MissionSearch

convert many to many to one to many
This commit is contained in:
Amir Ghasempoor
2025-12-01 11:30:28 +03:30
committed by GitHub
11 changed files with 123 additions and 32 deletions

View File

@@ -84,4 +84,9 @@ class Mission extends Model
'missionable_id'
);
}
public function machine(): HasOne
{
return $this->hasOne(CMMSMachine::class);
}
}