mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Disabling integer column length for Postgres (Ticket #2814)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5417 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
629c0a9d63
commit
7e499f1f14
1 changed files with 0 additions and 4 deletions
|
@ -492,10 +492,6 @@ class DboPostgres extends DboSource {
|
|||
|
||||
if ($limit != null) {
|
||||
return intval($limit);
|
||||
} elseif ($col == 'integer') {
|
||||
return 11;
|
||||
} elseif (in_array($col, array('int2', 'int4', 'int8'))) {
|
||||
return intval(r('int', '', $col));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue