blob: e6a5ffc8649aa01721c68f5dc6d263c31554ac12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class RemoveRefFetchedFromMergeRequests < ActiveRecord::Migration[4.2]
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
|