This commit is contained in:
Andras Bacsai
2024-10-14 13:32:36 +02:00
parent 1f193d465d
commit b2e515f770
6 changed files with 120 additions and 29 deletions

View File

@@ -19,6 +19,9 @@ return new class extends Migration
$table->integer('sentinel_metrics_refresh_rate_seconds')->default(5);
$table->integer('sentinel_metrics_history_days')->default(30);
});
Schema::table('servers', function (Blueprint $table) {
$table->dateTime('sentinel_update_at')->default(now());
});
}
/**
@@ -34,5 +37,8 @@ return new class extends Migration
$table->dropColumn('sentinel_metrics_refresh_rate_seconds');
$table->dropColumn('sentinel_metrics_history_days');
});
Schema::table('servers', function (Blueprint $table) {
$table->dropColumn('sentinel_update_at');
});
}
};