gitlabhq/db/migrate/20130218141536_remove_closed_from_merge_request.rb

9 lines
191 B
Ruby

class RemoveClosedFromMergeRequest < ActiveRecord::Migration
def up
remove_column :merge_requests, :closed
end
def down
add_column :merge_requests, :closed, :boolean
end
end