diff --git a/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php b/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php index a02933d241d..373acac261d 100644 --- a/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php @@ -318,6 +318,9 @@ public function createDatabase($database = null) */ public function dropAutoincrement($table) { + if ($table instanceof Table) { + $table = $table->getQuotedName($this->_platform); + } $sql = $this->_platform->getDropAutoincrementSql($table); foreach ($sql as $query) { $this->_conn->executeUpdate($query);