socialforge/db/migrate/20120127174243_add_custom_f...

10 lines
217 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
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