mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
f8123f131a
commit
60c6d3be02
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue