Sha256: f9dba99436a2535fe09e19c54eb4ddc4f56ce5dd2294f64c56f71cffab4cd030
Contents?: true
Size: 547 Bytes
Versions: 6
Compression:
Stored size: 547 Bytes
Contents
# frozen_string_literal: true class EnablePgTrgmExtensionForParagraphs < ActiveRecord::Migration[5.1] def change return if extension_enabled?("pg_trgm") begin # required so that test suite works in ci env enable_extension "pg_trgm" rescue StandardError raise <<-MSG.squish Decidim requires the pg_trgm extension to be enabled in your PostgreSQL. You can do so by running `CREATE EXTENSION IF NOT EXISTS "pg_trgm";` on the current DB as a PostgreSQL super user. MSG end end end
Version data entries
6 entries across 6 versions & 1 rubygems