Duplicating changes in [3332].

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3333 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2006-08-01 02:32:30 +00:00
parent f8123f131a
commit 60c6d3be02

View file

@ -460,7 +460,7 @@ class DboPostgres extends DboSource {
if (strpos($col, 'bytea') !== false) {
return 'binary';
}
if (in_array($col, array('float', 'float4', 'float8', 'double', 'decimal', 'real', 'numeric'))) {
if (in_array($col, array('float', 'float4', 'float8', 'double', 'double precision', 'decimal', 'real', 'numeric'))) {
return 'float';
}
return 'text';