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

20170710083355_clean_stage_id_reference_migration.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 681203eaf400c68381ed24db00a5424272a3590b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class CleanStageIdReferenceMigration < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  ##
  # `MigrateStageIdReferenceInBackground` background migration cleanup.
  #
  def up
    Gitlab::BackgroundMigration.steal('MigrateBuildStageIdReference')
  end

  def down
    # noop
  end
end