summaryrefslogtreecommitdiffstats
path: root/db/migrate/086_add_custom_fields_searchable.rb
blob: 53158d14e1f804d86847f3c72fbd436663e87686 (plain)
1
2
3
4
5
6
7
8
9
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