瀏覽代碼

Update Collection model

Daniel Supernault 6 年之前
父節點
當前提交
c391a281f3
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);