demarches-normaliennes/db/migrate/20180418094115_update_searches_to_version_3.rb

10 lines
177 B
Ruby
Raw Normal View History

2018-04-23 11:49:30 +02:00
class UpdateSearchesToVersion3 < ActiveRecord::Migration[5.2]
def up
replace_view :searches, version: 3
end
def down
replace_view :searches, version: 2
end
end