summaryrefslogtreecommitdiff
path: root/db/migrate/20170710083355_clean_stage_id_reference_migration.rb
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