Sha256: 213d4e05e2ac0ab2d7a7b1fe4754042292e1f295d54f2a722aea439bfc9af799

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

class AddNamesTsearchIndexToAuthors < ActiveRecord::Migration
  def up 
    execute "CREATE INDEX idx_names_vector_on_authors on authors USING gin (names_vector)"
  end
  def down
    execute "DROP INDEX idx_names_vector_on_authors"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
search_steroids-0.0.1 spec/dummy/db/migrate/20130621211358_add_names_tsearch_index_to_authors.rb