Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -47,6 +47,6 @@ class Collect extends Model | ... | @@ -47,6 +47,6 @@ class Collect extends Model |
47 | 47 | ||
48 | public function immerse() | 48 | public function immerse() |
49 | { | 49 | { |
50 | - return $this->belongsTo(Immerse::class,'id','immerse_id'); | 50 | + return $this->belongsTo(Immerse::class,'immerse_id','id'); |
51 | } | 51 | } |
52 | } | 52 | } | ... | ... |
-
Please register or login to post a comment