Sfoglia il codice sorgente

Update Profile model, cast last_status_at as timestamp

Daniel Supernault 3 anni fa
parent
commit
a64aef6726
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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'];