Sha256: 236fdc5d365ccb81bf914f861677804875272b9af3996a37bda1a5e6d963b627

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

class CreateVarietalAliases < ActiveRecord::Migration
  def change
    # populate this table with your query rewrite rules
    create_table :varietal_aliases do |t| t.timestamps end
    add_column :varietal_aliases, :original_tsquery, :tsquery
    add_column :varietal_aliases, :substitution_tsquery, :tsquery
    add_column :varietal_aliases, :original, :string
    add_column :varietal_aliases, :substitution, :string
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
search_steroids-0.0.1 spec/dummy/db/migrate/20130625031607_create_varietal_aliases.rb