Closed msievers closed 10 years ago
In
db/migrate/20130923110554_create_extension_pg_trgm.rb
the if not exists check is omitted for create extension which might lead to errors under certain conditions, e.g. if the admin has decided to add pg_trgm to template1. It should be safe to use if not exists anyway.
if not exists
create extension
template1
Thanks, pg_trgm is removed now, because it's not needed anymore.
pg_trgm
In
db/migrate/20130923110554_create_extension_pg_trgm.rb
the
if not exists
check is omitted forcreate extension
which might lead to errors under certain conditions, e.g. if the admin has decided to add pg_trgm totemplate1
. It should be safe to useif not exists
anyway.