Browse Source

Update Collection model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
c391a281f3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/Collection.php

+ 2 - 0
app/Collection.php

@@ -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);