Commit 6d3b220a authored by Florian Hübsch's avatar Florian Hübsch
Browse files

Merge pull request #218 from ninjaconcept/adjust-pg-migration

Create postgres extension only if not exists.
parents ef8b8d5f 9f24566b
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