Skip to content

Commit

Permalink
Added index for workload_metrics (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
patilsuraj767 authored Sep 25, 2023
1 parent 6f54036 commit 4c64ed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions migrations/000010_create_worload_metrics_index.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP INDEX IF EXISTS idx_workload_metrics_workload_id_interval_end;
1 change: 1 addition & 0 deletions migrations/000010_create_worload_metrics_index.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX IF NOT EXISTS idx_workload_metrics_workload_id_interval_end ON workload_metrics(workload_id, interval_end);

0 comments on commit 4c64ed3

Please sign in to comment.