Sha256: 3f1c50ffef4896b7dfc4dd7727417cd2b95090fa5bf1ddd253f7aa4187d03f9b

Contents?: true

Size: 186 Bytes

Versions: 9

Compression:

Stored size: 186 Bytes

Contents

class AddSearchVectorToReleases < ActiveRecord::Migration
  def change
    add_column :releases, :search_vector, :tsvector
    add_index :releases, :search_vector, using: :gin
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
houston-core-0.8.0.pre db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.7.0 db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.7.0.beta4 db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.7.0.beta3 db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.7.0.beta2 db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.7.0.beta db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.6.3 db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.6.2 db/migrate/20151226154901_add_search_vector_to_releases.rb
houston-core-0.6.1 db/migrate/20151226154901_add_search_vector_to_releases.rb