redmine/db/migrate/20120127174243_add_custom_fields_multiple.rb
Jean-Philippe Lang cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00

10 rindas
217 B
Ruby

class AddCustomFieldsMultiple < ActiveRecord::Migration
def self.up
add_column :custom_fields, :multiple, :boolean, :default => false
end
def self.down
remove_column :custom_fields, :multiple
end
end