Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-20 04:38:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-20 04:38:37 +0300
commit98758eb190dc3072ee6d2c335ba1c3dcbd197937 (patch)
treeb0c3e3205a3f92714c844280fe9d5a5c1ffced7e /db/post_migrate
parent6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (diff)
Add latest changes from gitlab-org/gitlab@15-4-stable-ee
Diffstat (limited to 'db/post_migrate')
-rw-r--r--db/post_migrate/20220913082728_drop_index_cadence_create_iterations_automation.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/db/post_migrate/20220913082728_drop_index_cadence_create_iterations_automation.rb b/db/post_migrate/20220913082728_drop_index_cadence_create_iterations_automation.rb
deleted file mode 100644
index 8b961bc1c7e..00000000000
--- a/db/post_migrate/20220913082728_drop_index_cadence_create_iterations_automation.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class DropIndexCadenceCreateIterationsAutomation < Gitlab::Database::Migration[2.0]
- INDEX_NAME = 'cadence_create_iterations_automation'
-
- disable_ddl_transaction!
-
- def up
- remove_concurrent_index_by_name :iterations_cadences, INDEX_NAME
- end
-
- def down
- execute(
- <<-SQL
- CREATE INDEX CONCURRENTLY #{INDEX_NAME} ON iterations_cadences
- USING BTREE(automatic, duration_in_weeks, (DATE ((COALESCE("iterations_cadences"."last_run_date", DATE('01-01-1970')) + "iterations_cadences"."duration_in_weeks" * INTERVAL '1 week'))))
- WHERE duration_in_weeks IS NOT NULL
- SQL
- )
- end
-end