debian-mirror-gitlab/db/migrate/20130218141444_remove_merged_from_merge_request.rb
2016-06-16 23:09:34 +05:30

10 lines
241 B
Ruby

# rubocop:disable all
class RemoveMergedFromMergeRequest < ActiveRecord::Migration
def up
remove_column :merge_requests, :merged
end
def down
add_column :merge_requests, :merged, :boolean, default: true, null: false
end
end