1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-15 21:48:13 +00:00
redmine/rails-2.1/db/migrate/073_add_enumerations_is_default.rb
Jean-Philippe Lang e61f35981c Rails 2.1 compatibility branch added.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 17:20:00 +00:00

10 lines
236 B
Ruby

class AddEnumerationsIsDefault < ActiveRecord::Migration
def self.up
add_column :enumerations, :is_default, :boolean, :default => false, :null => false
end
def self.down
remove_column :enumerations, :is_default
end
end