2018-12-23 12:14:25 +05:30
|
|
|
class RemoveRefFetchedFromMergeRequests < ActiveRecord::Migration[4.2]
|
2018-03-17 18:26:18 +05:30
|
|
|
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
|