bigdir/db/migrate/086_add_custom_fields_searc...

10 lines
223 B
Ruby

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