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:
Diffstat (limited to 'db/post_migrate/20230104222514_add_foreign_key_to_builds_metadata.rb')
-rw-r--r--db/post_migrate/20230104222514_add_foreign_key_to_builds_metadata.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/post_migrate/20230104222514_add_foreign_key_to_builds_metadata.rb b/db/post_migrate/20230104222514_add_foreign_key_to_builds_metadata.rb
deleted file mode 100644
index b9c78e4eeb9..00000000000
--- a/db/post_migrate/20230104222514_add_foreign_key_to_builds_metadata.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyToBuildsMetadata < Gitlab::Database::Migration[2.1]
- include Gitlab::Database::PartitioningMigrationHelpers
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_partitioned_foreign_key :p_ci_builds_metadata,
- :ci_runner_machines,
- column: :runner_machine_id,
- on_delete: :nullify
- end
-
- def down
- remove_foreign_key_if_exists :p_ci_builds_metadata, column: :runner_machine_id
- end
-end