Sha256: ac19c93829973c52b1c875afbb94e6d492b053b6e2381850f09187ac1088f938

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

class EnablePgExtensions < ActiveRecord::Migration[5.1]
  def change
    enable_extension "pg_trgm"
  rescue ActiveRecord::CatchAll => e
    logger.error "Can not deal with pg_trgm extension: #{e}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-initiatives-0.11.2 db/migrate/20171109132011_enable_pg_extensions.rb
decidim-initiatives-0.11.1 db/migrate/20171109132011_enable_pg_extensions.rb
decidim-initiatives-0.11.0.pre1 db/migrate/20171109132011_enable_pg_extensions.rb