diff --git a/migrations/000010_create_worload_metrics_index.down.sql b/migrations/000010_create_worload_metrics_index.down.sql new file mode 100644 index 00000000..f548e37f --- /dev/null +++ b/migrations/000010_create_worload_metrics_index.down.sql @@ -0,0 +1 @@ +DROP INDEX IF EXISTS idx_workload_metrics_workload_id_interval_end; diff --git a/migrations/000010_create_worload_metrics_index.up.sql b/migrations/000010_create_worload_metrics_index.up.sql new file mode 100644 index 00000000..11eb4746 --- /dev/null +++ b/migrations/000010_create_worload_metrics_index.up.sql @@ -0,0 +1 @@ +CREATE INDEX IF NOT EXISTS idx_workload_metrics_workload_id_interval_end ON workload_metrics(workload_id, interval_end);