mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Collection model
This commit is contained in:
parent
6791d13fc5
commit
c391a281f3
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ class Collection extends Model
|
||||||
|
|
||||||
public $fillable = ['profile_id', 'published_at'];
|
public $fillable = ['profile_id', 'published_at'];
|
||||||
|
|
||||||
|
public $dates = ['published_at'];
|
||||||
|
|
||||||
public function profile()
|
public function profile()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Profile::class);
|
return $this->belongsTo(Profile::class);
|
||||||
|
|
Loading…
Reference in a new issue