This commit is contained in:
parent
41bb34ef0f
commit
141a95669d
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user