summaryrefslogtreecommitdiffstats
path: root/db/migrate/086_add_custom_fields_searchable.rb
blob: 5ee187577a8b783c77bbd2237c51ba34791baaab (plain)
1
2
3
4
5
6
7
8
9
class AddCustomFieldsSearchable < ActiveRecord::Migration[4.2]
  def self.up
    add_column :custom_fields, :searchable, :boolean, :default => false
  end

  def self.down
    remove_column :custom_fields, :searchable
  end
end