Method: Myreplicator::VerticaTypes.convert

Defined in:
lib/loader/vertica/types.rb

.convert(type, col_type) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/loader/vertica/types.rb', line 4

def self.convert type, col_type
  if mysql_vertica_conversion[type].blank?
    return col_type.gsub("decimal","numeric")
  else
    return mysql_vertica_conversion[type]
  end
end