Added product char master relation in item model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Successful in 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Larastan / larastan (pull_request) Failing after 4m42s
Laravel Pint / pint (pull_request) Failing after 3m46s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Successful in 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Larastan / larastan (pull_request) Failing after 4m42s
Laravel Pint / pint (pull_request) Failing after 3m46s
This commit is contained in:
@@ -55,4 +55,9 @@ class Item extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(ItemCharacteristic::class, 'item_id', 'id');
|
return $this->hasMany(ItemCharacteristic::class, 'item_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function productCharacteristicsMasters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ProductCharacteristicsMaster::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user