浏览代码

Update Profile model, cast last_status_at as timestamp

Daniel Supernault 3 年之前
父节点
当前提交
a64aef6726
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Profile.php

+ 2 - 1
app/Profile.php

@@ -21,7 +21,8 @@ class Profile extends Model
 
 	protected $dates = [
 		'deleted_at',
-		'last_fetched_at'
+		'last_fetched_at',
+		'last_status_at'
 	];
 	protected $hidden = ['private_key'];
 	protected $visible = ['id', 'user_id', 'username', 'name'];