demarches-normaliennes/db/migrate/20180108132507_enable_unaccent_postgresql_extension.rb

10 lines
188 B
Ruby
Raw Normal View History

2018-01-08 14:59:23 +01:00
class EnableUnaccentPostgresqlExtension < ActiveRecord::Migration[5.0]
def up
execute 'CREATE EXTENSION unaccent;'
end
def down
execute 'DROP EXTENSION unaccent;'
end
end