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

20211122193948_cleanup_background_migration_of_requirements_to_work_items.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: df4867d6ae768979033d844a8ca45fe074246bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class CleanupBackgroundMigrationOfRequirementsToWorkItems < Gitlab::Database::Migration[1.0]
  disable_ddl_transaction!

  MIGRATION = 'MigrateRequirementsToWorkItems'

  disable_ddl_transaction!

  def up
    finalize_background_migration(MIGRATION)
  end

  def down
    # no-op
  end
end