summaryrefslogtreecommitdiff
path: root/db/migrate/20170710083355_clean_stage_id_reference_migration.rb
blob: d33c6f53b158ce694edbda6284d6f5d236835930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class CleanStageIdReferenceMigration < ActiveRecord::Migration[4.2]
  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