ahoward (owner)

Revisions

gist: 225390 Download_button fork
public
Public Clone URL: git://gist.github.com/225390.git
Embed All Files: show embed
Ruby #
1
2
3
4
5
6
7
8
9
10
class TsIndex < ActiveRecord::Migration
  def self.up
    add_column :users, :ts_index, :tsvector
  end
 
  def self.down
    remove_column :users, :ts_index
  end
end