Sha256: 181557cef8a70722c04b49f47207888f8607580f0133ef844e7f18a9afc8f322
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration def change # populate this table with your query rewrite rules create_table :<%=aliases_name %> do |t| t.timestamps end add_column :<%=aliases_name %>, :original_tsquery, :tsquery add_column :<%=aliases_name %>, :substitution_tsquery, :tsquery add_column :<%=aliases_name %>, :original, :string add_column :<%=aliases_name %>, :substitution, :string end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
search_steroids-0.0.1 | lib/generators/search_context/templates/create_aliases_migration.rb |