```ruby
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
```

Index the solr freshness boolean
user
```ruby
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
```
assistant