Sha256: 79d00e9516d2de275500d469e4d984bea4cf727c3e37686f2766c79cd6aada0c

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

class CreateNameAliases < ActiveRecord::Migration
  def change
    # populate this table with your query rewrite rules
    create_table :name_aliases do |t| t.timestamps end
      add_column :name_aliases, :original_tsquery, :tsquery
      add_column :name_aliases, :substitution_tsquery, :tsquery
      add_column :name_aliases, :original, :string
      add_column :name_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/20130623112439_create_name_aliases.rb