[#1] added last_tested_at column to proxies and added json to the command to fetch proxies

This commit is contained in:
2025-03-30 20:24:01 +03:00
parent c3686cbf5c
commit 7c56f25053
5 changed files with 78 additions and 98 deletions
+4 -2
View File
@@ -18,13 +18,15 @@ class Proxy extends Model
'anonymity',
'score',
'country',
'city'
'city',
'last_tested_at'
];
protected $casts = [
'https' => 'boolean',
'port' => 'integer',
'score' => 'integer'
'score' => 'integer',
'last_tested_at' => 'datetime'
];
public function getGeolocationAttribute()