20170710083355_clean_stage_id_reference_migration.rb 361 Bytes
Newer Older
1
class CleanStageIdReferenceMigration < ActiveRecord::Migration[4.2]
2 3 4 5 6 7 8 9 10 11
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  ##
  # `MigrateStageIdReferenceInBackground` background migration cleanup.
  #
  def up
12
    Gitlab::BackgroundMigration.steal('MigrateBuildStageIdReference')
13 14 15 16 17 18
  end

  def down
    # noop
  end
end