gitlabhq/db/migrate/20120627145613_remove_critical_from_issue.rb
2012-06-27 21:30:35 +03:00

10 lines
208 B
Ruby

class RemoveCriticalFromIssue < ActiveRecord::Migration
def up
remove_column :issues, :critical
end
def down
add_column :issues, :critical, :boolean, :null => true, :default => false
end
end