summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-18 11:51:47 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-18 11:51:47 +0200
commit73c7b968850b77dd2d740b494b4a98adb1222d41 (patch)
tree8d2128c81b2f8ce3a1f3d29a228e0732b7907544 /db
parent2930c0e3d090d5b33133160d847153a215ab059a (diff)
downloadgitlab-ce-73c7b968850b77dd2d740b494b4a98adb1222d41.tar.gz
Remove migration dependency from stage_id migration
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170710083355_clean_stage_id_reference_migration.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/db/migrate/20170710083355_clean_stage_id_reference_migration.rb b/db/migrate/20170710083355_clean_stage_id_reference_migration.rb
index f75cbb4a712..681203eaf40 100644
--- a/db/migrate/20170710083355_clean_stage_id_reference_migration.rb
+++ b/db/migrate/20170710083355_clean_stage_id_reference_migration.rb
@@ -1,5 +1,3 @@
-require Rails.root.join('db', 'post_migrate', '20170628080858_migrate_stage_id_reference_in_background')
-
class CleanStageIdReferenceMigration < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
@@ -11,8 +9,7 @@ class CleanStageIdReferenceMigration < ActiveRecord::Migration
# `MigrateStageIdReferenceInBackground` background migration cleanup.
#
def up
- Gitlab::BackgroundMigration
- .steal(MigrateStageIdReferenceInBackground::MIGRATION)
+ Gitlab::BackgroundMigration.steal('MigrateBuildStageIdReference')
end
def down