diff options
Diffstat (limited to 'db/post_migrate/20200312134637_backfill_environment_id_on_deployment_merge_requests.rb')
-rw-r--r-- | db/post_migrate/20200312134637_backfill_environment_id_on_deployment_merge_requests.rb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/db/post_migrate/20200312134637_backfill_environment_id_on_deployment_merge_requests.rb b/db/post_migrate/20200312134637_backfill_environment_id_on_deployment_merge_requests.rb deleted file mode 100644 index 77cb1ae8508..00000000000 --- a/db/post_migrate/20200312134637_backfill_environment_id_on_deployment_merge_requests.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -class BackfillEnvironmentIdOnDeploymentMergeRequests < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - # no-op - - # this migration is deleted because there is no foreign key for - # deployments.environment_id and this caused a failure upgrading - # deployments_merge_requests.environment_id - # - # Details on the following issues: - # * https://gitlab.com/gitlab-org/gitlab/-/issues/217191 - # * https://gitlab.com/gitlab-org/gitlab/-/issues/26229 - end - - def down - # no-op - - # this migration is designed to delete duplicated data - end -end |