Skip to content

Commit

Permalink
rename column average_slot_confirmation_time_ms
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Jun 20, 2024
1 parent 8191646 commit a2dee84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benchrunner-service/src/postgres/metrics_dbstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions migrations/create_benchrunner.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit a2dee84

Please sign in to comment.