demarches-normaliennes/db/migrate/20161102154835_update_searches_to_version_2.rb
gregoirenovel 3ca914aba8 Delete some environment-based conditions
We should always try to be the closest to the
production environment
2017-04-10 16:17:33 +02: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