Commit 9f24566b authored by Florian Hübsch's avatar Florian Hübsch
Browse files

Create postgres extension only if not exists.

parent ef8b8d5f
class AddContribPgExtensions < ActiveRecord::Migration
def change
execute 'CREATE EXTENSION pg_trgm;'
execute 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment