blob: f75cbb4a712e7b78f29abf8c1cf929870fdc9524 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require Rails.root.join('db', 'post_migrate', '20170628080858_migrate_stage_id_reference_in_background')
class CleanStageIdReferenceMigration < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
##
# `MigrateStageIdReferenceInBackground` background migration cleanup.
#
def up
Gitlab::BackgroundMigration
.steal(MigrateStageIdReferenceInBackground::MIGRATION)
end
def down
# noop
end
end
|