1
0
mirror of synced 2025-01-17 22:11:41 +03:00
This commit is contained in:
zYne 2007-08-29 22:03:55 +00:00
parent 4fc6efd82f
commit 15556a35a4

View File

@ -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);
}
}