Skip to content

Commit

Permalink
Add more data_types for sql_types mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
wreis committed Jul 29, 2014
1 parent 3ab19c1 commit 658991a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/SQL/Translator/Schema/Field.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit 658991a

Please sign in to comment.