Update Collection model

This commit is contained in:
Daniel Supernault 2019-07-17 21:10:42 -06:00
parent 6791d13fc5
commit c391a281f3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ class Collection extends Model
public $fillable = ['profile_id', 'published_at'];
public $dates = ['published_at'];
public function profile()
{
return $this->belongsTo(Profile::class);