Fix on new model

This commit is contained in:
Ludovic CANDELLIER
2020-07-26 23:48:12 +02:00
parent 71e27ce9c3
commit ef791fbcf2
4 changed files with 25 additions and 13 deletions

View File

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