From 15556a35a4ff985eb4de4e48029e740993f1f415 Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 29 Aug 2007 22:03:55 +0000 Subject: [PATCH] fixes #433 --- lib/Doctrine/Export/Pgsql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Export/Pgsql.php b/lib/Doctrine/Export/Pgsql.php index befdae1e1..2ebfbf552 100644 --- a/lib/Doctrine/Export/Pgsql.php +++ b/lib/Doctrine/Export/Pgsql.php @@ -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); } }