debian-mirror-gitlab/db/migrate/20130218141444_remove_merged_from_merge_request.rb

10 lines
219 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
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