diff --git a/scripts/sql/32903500_alter_pipeline_timeline.down.sql b/scripts/sql/32903500_alter_pipeline_timeline.down.sql new file mode 100644 index 0000000000..a3c1a7f02c --- /dev/null +++ b/scripts/sql/32903500_alter_pipeline_timeline.down.sql @@ -0,0 +1 @@ +--not dropping index as of now \ No newline at end of file diff --git a/scripts/sql/32903500_alter_pipeline_timeline.up.sql b/scripts/sql/32903500_alter_pipeline_timeline.up.sql new file mode 100644 index 0000000000..63f65ef5f6 --- /dev/null +++ b/scripts/sql/32903500_alter_pipeline_timeline.up.sql @@ -0,0 +1,3 @@ +CREATE INDEX "idx_pipeline_status_timeline_cd_workflow_runner_id" ON pipeline_status_timeline USING BTREE ("cd_workflow_runner_id"); + +CREATE INDEX "idx_pipeline_status_timeline_installed_app_version_history_id" ON pipeline_status_timeline USING BTREE ("installed_app_version_history_id");