summaryrefslogtreecommitdiffstats
path: root/db/migrate/086_add_custom_fields_searchable.rb
blob: 9b53236210c38f34d971d7a6187928011a12069a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: false

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