debian-mirror-gitlab/db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb
2018-03-17 18:26:18 +05:30

15 lines
471 B
Ruby

class RemoveRefFetchedFromMergeRequests < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime.
DOWNTIME = false
# We don't need to cache this anymore: the refs are now created
# upon save/update and there is no more use for this flag
#
# See https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
def change
remove_column :merge_requests, :ref_fetched, :boolean
end
end