Fix
parent
29e4660cf6
commit
1f4ea58abe
|
|
@ -17,7 +17,7 @@ class RiceShrimpWeeklyPrice extends Model
|
||||||
|
|
||||||
public function weekObj()
|
public function weekObj()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Keywords::class, 'week');
|
return $this->belongsTo(Keywords::class, 'week', 'key');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function createdBy()
|
public function createdBy()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue