Commit f4eb2ff7 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Implement build stage_id reference migration clean up

parent 9e5c8e5d
require Rails.root.join('db', 'post_migrate', '20170628080858_migrate_stage_id_reference_in_background')
class BuildStageIdRefMigrationCleanup < 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
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170707184244) do
ActiveRecord::Schema.define(version: 20170711145558) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment