From: Wallace Reis Date: Tue, 29 Jul 2014 21:39:26 +0000 (-0300) Subject: Add more data_types for sql_types mapping X-Git-Tag: v0.11019~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=658991afb3d5cac4b807fe53f62eda5b0ef21a40;p=dbsrgits%2FSQL-Translator.git Add more data_types for sql_types mapping --- diff --git a/lib/SQL/Translator/Schema/Field.pm b/lib/SQL/Translator/Schema/Field.pm index 47f1b5d..a882632 100644 --- a/lib/SQL/Translator/Schema/Field.pm +++ b/lib/SQL/Translator/Schema/Field.pm @@ -54,10 +54,14 @@ our %type_mapping = ( bigint => SQL_BIGINT, double => SQL_DOUBLE, + 'double precision' => SQL_DOUBLE, decimal => SQL_DECIMAL, - numeric => SQL_NUMERIC, dec => SQL_DECIMAL, + numeric => SQL_NUMERIC, + + real => SQL_REAL, + float => SQL_FLOAT, bit => SQL_BIT,