1 2 3 4 5 6 7 8 9
class IndexRequestsWithSolr < ActiveRecord::Migration def self.up add_column :info_requests, :solr_up_to_date, :boolean, :default => false, :null => false end def self.down remove_column :info_requests, :solr_up_to_date end end