view .svn/pristine/01/01049e9d9cec55a96b7b1a93672943d74c1a87d6.svn-base @ 1363:855b4ae5ecdd luisf

Should fix Bug #658.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Aug 2013 13:40:58 +0100
parents cbb26bc654de
children
line wrap: on
line source
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