blob: f18b947a6b248ea27439b66b572dae15dff709b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|