Updated foreign key for motorTestingMasters hasMany relation on model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -41,7 +41,7 @@ class Item extends Model
|
||||
|
||||
public function motorTestingMasters()
|
||||
{
|
||||
return $this->hasMany(MotorTestingMaster::class);
|
||||
return $this->hasMany(MotorTestingMaster::class, 'item_id', 'id');
|
||||
}
|
||||
|
||||
public function testingPanelReadings()
|
||||
|
||||
Reference in New Issue
Block a user