Merge pull request 'Added machine relation in line model file' (#229) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #229
This commit was merged in pull request #229.
This commit is contained in:
@@ -151,6 +151,11 @@ class Line extends Model
|
||||
return $this->hasMany(WorkGroupMaster::class, 'work_group10_id', 'id');
|
||||
}
|
||||
|
||||
public function machines()
|
||||
{
|
||||
return $this->hasMany(Machine::class);
|
||||
}
|
||||
|
||||
// public function rejectReasons()
|
||||
// {
|
||||
// return $this->hasMany(RejectReason::class, 'line_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user