Module: PhatPgsearch::PostgreSQL::PostgreSQLColumn

Defined in:
lib/phat_pgsearch/postgresql.rb

Instance Method Summary collapse

Instance Method Details

#pgsearch_index(table) ⇒ Object



33
34
35
# File 'lib/phat_pgsearch/postgresql.rb', line 33

def pgsearch_index(table)
  
end

#simplified_type(field_type) ⇒ Object



37
38
39
40
41
42
43
# File 'lib/phat_pgsearch/postgresql.rb', line 37

def simplified_type(field_type)
  if field_type == 'tsvector'
    :string
  else
    super(field_type)
  end
end