Explorar el Código

Update Profile model, cast last_status_at as timestamp

Daniel Supernault hace 3 años
padre
commit
a64aef6726
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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'];