Update Profile model, cast timestamp for last_fetched_at

pull/2147/head
Daniel Supernault 2020-04-26 02:07:17 -06:00
rodzic c7ccb26ffc
commit 6969bb5bb4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -18,7 +18,10 @@ class Profile extends Model
*/
public $incrementing = false;
protected $dates = ['deleted_at'];
protected $dates = [
'deleted_at',
'last_fetched_at'
];
protected $hidden = ['private_key'];
protected $visible = ['id', 'user_id', 'username', 'name'];
protected $fillable = ['user_id'];