Sha256: 4b2ed12f73b6335845a89a7676e54c54ddd0f75d31b2a0a83e393ca2edf333b9

Contents?: true

Size: 271 Bytes

Versions: 28

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

class EnableSearchExtensions < ActiveRecord::Migration[5.2]
  def change
    ActiveRecord::Base.connection.execute <<-SQL.squish
      CREATE EXTENSION IF NOT EXISTS unaccent;
      CREATE EXTENSION IF NOT EXISTS pg_trgm;
    SQL
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
pages_core-3.15.5 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.15.4 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.15.3 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.15.2 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.15.1 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.14.0 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.13.0 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.7 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.6 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.5 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.4 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.3 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.2 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.1 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.12.0 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.11.3 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.11.2 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.11.1 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.11.0 db/migrate/20180625154059_enable_search_extensions.rb
pages_core-3.10.2 db/migrate/20180625154059_enable_search_extensions.rb