gitlabhq/db/migrate/20120627145613_remove_critical_from_issue.rb

10 lines
208 B
Ruby
Raw Normal View History

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