demarches-normaliennes/db/migrate/20161102154835_update_searches_to_version_2.rb

10 lines
172 B
Ruby
Raw Normal View History

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