feat: stats

This commit is contained in:
2026-05-16 17:11:07 +02:00
parent d9e80f7603
commit 7b8ede2a1a
18 changed files with 254 additions and 53 deletions
@@ -12,7 +12,7 @@ return new class extends Migration
{
$connection = (new HealthCheckResultHistoryItem)->getConnectionName();
$tableName = EloquentHealthResultStore::getHistoryItemInstance()->getTable();
Schema::connection($connection)->create($tableName, function (Blueprint $table) {
$table->id();
@@ -27,7 +27,7 @@ return new class extends Migration
$table->timestamps();
});
Schema::connection($connection)->table($tableName, function (Blueprint $table) {
$table->index('created_at');
$table->index('batch');