소스 검색

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