1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-06-19 23:20:39 +00:00
parent 99ad6fbbc9
commit 5718cbb16c

View File

@ -157,7 +157,7 @@ class Doctrine_Import_Pgsql extends Doctrine_Import
if ($val['type'] === 'varchar') {
// get length from varchar definition
$length = preg_replace('~.*\(([0-9]*)\).*~', '$1', $val['complete_type']);
$val['length'] .= $length;
$val['length'] = $length;
}
$decl = $this->conn->dataDict->getPortableDeclaration($val);