Sha256: 0de2d884c268ba38e0ca7f2b55b5d186790893fe3a86bd0c3199ff84f036c6c3

Contents?: true

Size: 352 Bytes

Versions: 6

Compression:

Stored size: 352 Bytes

Contents

class AddDataSearchExtensions < ActiveRecord::Migration[4.2]
  def up
    execute <<-SQL
      CREATE EXTENSION fuzzystrmatch;
      CREATE EXTENSION pg_trgm;
      CREATE EXTENSION unaccent;
    SQL
  end

  def down
    execute <<-SQL
      DROP EXTENSION pg_trgm;
      DROP EXTENSION unaccent;
      DROP EXTENSION fuzzystrmatch;
    SQL
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cas-cms-1.0.0.alpha2 db/migrate/20170830000000_add_data_search_extensions.rb
cas-cms-1.0.0.alpha1 db/migrate/20170830000000_add_data_search_extensions.rb
cas-cms-0.1.3 db/migrate/20170830000000_add_data_search_extensions.rb
cas-cms-0.1.2 db/migrate/20170830000000_add_data_search_extensions.rb
cas-cms-0.1.1 db/migrate/20170830000000_add_data_search_extensions.rb
cas-cms-0.1.0 db/migrate/20170830000000_add_data_search_extensions.rb