demarches-normaliennes/db/migrate/20161102154835_update_searches_to_version_2.rb
Julien Portalier ce7e2c8a87 Rework searches to enable cross-table searches
It allows to search for multiple terms in multiple tables at once.
2016-11-04 15:41:42 +01:00

9 lines
172 B
Ruby

class UpdateSearchesToVersion2 < ActiveRecord::Migration
def up
replace_view :searches, version: 2
end
def down
replace_view :searches, version: 1
end
end