9 lines
212 B
Ruby
9 lines
212 B
Ruby
class EnableUnaccentPostgresqlExtension < ActiveRecord::Migration[5.0]
|
|
def up
|
|
execute 'CREATE EXTENSION IF NOT EXISTS unaccent;'
|
|
end
|
|
|
|
def down
|
|
execute 'DROP EXTENSION IF EXISTS unaccent;'
|
|
end
|
|
end
|