trustieforge/db/migrate/088_add_custom_fields_defau...

10 lines
209 B
Ruby

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