From dc4db9e3c0a27218dc9b336b6208f3c230397e4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Fri, 11 Dec 2015 14:06:07 +0100 Subject: [PATCH] fixes #2250 --- lib/Doctrine/DBAL/Schema/OracleSchemaManager.php | 3 +++ 1 file changed, 3 insertions(+) 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);