gitlabhq/db/migrate/20130218141507_remove_closed_from_issue.rb

10 lines
168 B
Ruby

class RemoveClosedFromIssue < ActiveRecord::Migration
def up
remove_column :issues, :closed
end
def down
add_column :issues, :closed, :boolean
end
end