add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
+5 -4
View File
@@ -2,6 +2,8 @@
namespace App\Models;
use App\Models\BaseModel;
class IpAttempt extends BaseModel
{
protected $table = 'ip_attempts';
@@ -19,9 +21,9 @@ class IpAttempt extends BaseModel
];
protected $casts = [
'attempts' => 'integer',
'attempts' => 'integer',
'last_attempt_at' => 'datetime',
'blocked_until' => 'datetime',
'blocked_until' => 'datetime',
];
/**
@@ -51,7 +53,6 @@ class IpAttempt extends BaseModel
public static function insertIpAttempt(array $data): int
{
$row = static::query()->create($data);
return (int) $row->id;
}
}
}