1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Prevent Doctrine from quoting two times table name, bug report by g00fy on irc

This commit is contained in:
jackbravo 2007-08-24 23:03:25 +00:00
parent 7fc767794e
commit 9b7c743f48

View File

@ -228,8 +228,7 @@ class Doctrine_Export extends Doctrine_Connection_Module
}
}
$name = $this->conn->quoteIdentifier($name, true);
$query = 'CREATE TABLE ' . $name . ' (' . $queryFields;
$query = 'CREATE TABLE ' . $this->conn->quoteIdentifier($name, true) . ' (' . $queryFields;
$check = $this->getCheckDeclaration($fields);