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

class IndexRequestsWithSolr < ActiveRecord::Migration
    def self.up
        add_column :info_requests, :solr_up_to_date, :boolean, :default => false, :null => false
        add_index :info_requests, :solr_up_to_date
    end

    def self.down
        remove_index :info_requests, :solr_up_to_date
        remove_column :info_requests, :solr_up_to_date
    end
end

Index the solr freshness boolean
Index the solr freshness boolean
