Commit 5718cbb1 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 99ad6fbb
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment