fixes #433
This commit is contained in:
parent
4fc6efd82f
commit
15556a35a4
@ -203,7 +203,7 @@ class Doctrine_Export_Pgsql extends Doctrine_Export
|
|||||||
|
|
||||||
if (isset($changes['add']) && is_array($changes['add'])) {
|
if (isset($changes['add']) && is_array($changes['add'])) {
|
||||||
foreach ($changes['add'] as $fieldName => $field) {
|
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);
|
$this->conn->exec('ALTER TABLE ' . $name . ' ' . $query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user