fixes syntax error

This commit is contained in:
rgarcia
2015-10-29 17:20:52 +01:00
parent 9a6238f154
commit 9465c1ccb3
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
class AddUnaccentExtension < ActiveRecord::Migration
def change
execute "create extension unaccent if not exists unaccent"
execute "create extension if not exists unaccent"
end
end

View File

@@ -1,5 +1,5 @@
class AddPgTrgmExtension < ActiveRecord::Migration
def change
execute "create extension pg_trgm if not exists pg_trgm"
execute "create extension if not exists pg_trgm"
end
end