Fix on new model
This commit is contained in:
@@ -16,7 +16,7 @@ class ArticleAttribute extends Model
|
||||
|
||||
public function attribute_value()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\ArticleAttributeValue');
|
||||
return $this->belongsTo('App\Models\Shop\ArticleAttributeValue', 'article_attribute_value_id');
|
||||
}
|
||||
|
||||
public function prices()
|
||||
|
||||
Reference in New Issue
Block a user