Commit 15556a35 authored by zYne's avatar zYne

fixes #433

parent 4fc6efd8
......@@ -203,7 +203,7 @@ class Doctrine_Export_Pgsql extends Doctrine_Export
if (isset($changes['add']) && is_array($changes['add'])) {
foreach ($changes['add'] as $fieldName => $field) {
$query = 'ADD ' . $this->conn->getDeclaration($field['type'], $fieldName, $field);
$query = 'ADD ' . $this->getDeclaration($fieldName, $field);
$this->conn->exec('ALTER TABLE ' . $name . ' ' . $query);
}
}
......
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