1
0
mirror of synced 2024-12-13 22:56:04 +03:00
This commit is contained in:
zYne 2007-07-21 11:34:07 +00:00
parent 41bb34ef0f
commit 141a95669d

View File

@ -447,9 +447,9 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict
$field['name'] = ''; $field['name'] = '';
} }
$db_type = strtolower($field['type']); $dbType = strtolower($field['type']);
switch ($db_type) { switch ($dbType) {
case 'smallint': case 'smallint':
case 'int2': case 'int2':
$type[] = 'integer'; $type[] = 'integer';