socialforge/db/migrate/088_add_custom_fields_defau...

10 lines
209 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddCustomFieldsDefaultValue < ActiveRecord::Migration
def self.up
add_column :custom_fields, :default_value, :text
end
def self.down
remove_column :custom_fields, :default_value
end
end