diff options
author | francis <francis> | 2008-03-06 01:23:38 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-06 01:23:38 +0000 |
commit | 8d7934d991e93097c981676630ac63a4465b96b5 (patch) | |
tree | 07069514f3a582b96f47e2adbb13f11f60171003 /db/migrate/041_index_requests_with_solr.rb | |
parent | 91190cda0bca095412600d17d3d1225a48096397 (diff) |
First pass at indexing info requests with solr
Diffstat (limited to 'db/migrate/041_index_requests_with_solr.rb')
-rw-r--r-- | db/migrate/041_index_requests_with_solr.rb | 9 |
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 |