038_add_custom_field_is_filter.rb 239 Bytes
Newer Older
1
class AddCustomFieldIsFilter < ActiveRecord::Migration[4.2]
2 3 4 5 6 7 8 9
  def self.up
    add_column :custom_fields, :is_filter, :boolean, :null => false, :default => false
  end

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