mirror of https://github.com/pixelfed/pixelfed.git
Update Collection model
This commit is contained in:
parent
6791d13fc5
commit
c391a281f3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue