rename column average_slot_confirmation_time_ms

This commit is contained in:
GroovieGermanikus 2024-06-20 14:30:07 +02:00
parent 819164671b
commit a2dee849bd
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
2 changed files with 5 additions and 1 deletions

View File

@ -134,7 +134,7 @@ impl BenchMetricsPostgresSaver for BenchRunnerConfirmationRateImpl {
txs_confirmed,
txs_un_confirmed,
average_confirmation_time_ms,
average_slot_confirmation_time_ms,
average_slot_confirmation_time,
metric_json
)
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)

View File

@ -47,3 +47,7 @@ GRANT SELECT ON ALL TABLES IN SCHEMA benchrunner TO ro_benchrunner;
ALTER DEFAULT PRIVILEGES IN SCHEMA benchrunner GRANT SELECT ON TABLES TO ro_benchrunner;
ALTER TABLE benchrunner.bench_metrics RENAME TO bench_metrics_bench1;
ALTER TABLE benchrunner.bench_metrics_confirmation_rate ADD COLUMN bench_metrics_confirmation_rate real;
ALTER TABLE benchrunner.bench_metrics_confirmation_rate DROP COLUMN average_slot_confirmation_time_ms;