Commit 360c8ea2 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 302405de
......@@ -329,7 +329,7 @@ class Doctrine_Connection_UnitOfWork extends Doctrine_Connection_Module implemen
if (empty($seq) && count($keys) == 1 && $keys[0] == $table->getIdentifier()) {
if (strtolower($this->conn->getName()) == 'pgsql') {
$seq = $table->getTableName() . '_' . $keys[0] . '_seq';
$seq = $table->getTableName() . '_' . $keys[0];
}
$id = $this->conn->sequence->lastInsertId($seq);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment