diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/034_run_solr_indexing.rb | 8 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/db/migrate/034_run_solr_indexing.rb b/db/migrate/034_run_solr_indexing.rb new file mode 100644 index 000000000..8a697905c --- /dev/null +++ b/db/migrate/034_run_solr_indexing.rb @@ -0,0 +1,8 @@ +class RunSolrIndexing < ActiveRecord::Migration + def self.up + PublicBody.rebuild_solr_index + end + + def self.down + end +end diff --git a/db/schema.rb b/db/schema.rb index ff159b5c4..4037e75cf 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,7 +9,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 33) do +ActiveRecord::Schema.define(:version => 34) do create_table "incoming_messages", :force => true do |t| t.integer "info_request_id", :null => false |