demarches-normaliennes/db/migrate/20180418094115_update_searches_to_version_3.rb
2018-05-24 17:54:51 +02:00

9 lines
177 B
Ruby

class UpdateSearchesToVersion3 < ActiveRecord::Migration[5.2]
def up
replace_view :searches, version: 3
end
def down
replace_view :searches, version: 2
end
end