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

This commit is contained in:
dhanabalan
2026-04-02 12:17:58 +05:30
parent aa09e90107
commit c8cc9e3ba0

View File

@@ -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()