10 lines
172 B
Ruby
10 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
|