gitlabhq/db/migrate/20130218091244_remove_merged_from_merge_request.rb
2013-02-18 14:43:50 +04:00

10 lines
219 B
Ruby

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