Module: PhatPgsearch::PostgreSQL::PostgreSQLColumn

Defined in:
lib/phat_pgsearch/postgresql.rb

Instance Method Summary collapse

Instance Method Details

#pgsearch_index(table) ⇒ Object



37
38
39
# File 'lib/phat_pgsearch/postgresql.rb', line 37

def pgsearch_index(table)

end

#simplified_type(field_type) ⇒ Object



41
42
43
44
45
46
47
# File 'lib/phat_pgsearch/postgresql.rb', line 41

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