1
0
Daniel Supernault 6 жил өмнө
parent
commit
a0bebad28c

+ 4 - 1
app/CollectionItem.php

@@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
 
 class CollectionItem extends Model
 {
-    //
+	public function collection()
+	{
+		return $this->belongsTo(Collection::class);
+	}
 }