Added production characteristic relation in plant model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 45s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 54s
Laravel Larastan / larastan (pull_request) Failing after 4m19s
Laravel Pint / pint (pull_request) Failing after 4m11s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 45s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 54s
Laravel Larastan / larastan (pull_request) Failing after 4m19s
Laravel Pint / pint (pull_request) Failing after 4m11s
This commit is contained in:
@@ -127,4 +127,9 @@ class Plant extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(ProductCharacteristicsMaster::class, 'plant_id', 'id');
|
return $this->hasMany(ProductCharacteristicsMaster::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function productionCharacteristics()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ProductionCharacteristic::class, 'plant_id', 'id');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user