aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/041_index_requests_with_solr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/041_index_requests_with_solr.rb')
-rw-r--r--db/migrate/041_index_requests_with_solr.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/041_index_requests_with_solr.rb b/db/migrate/041_index_requests_with_solr.rb
new file mode 100644
index 000000000..6c6f161c9
--- /dev/null
+++ b/db/migrate/041_index_requests_with_solr.rb
@@ -0,0 +1,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