Commit c125e229 authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #232 from ajgarlag/master

Problem with sequence names, PostgreSQL and MixedCased schemas
parents 68764374 af56e010
......@@ -237,7 +237,7 @@ class PostgreSqlSchemaManager extends AbstractSchemaManager
$sequenceName = $sequence['relname'];
}
$data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM ' . $sequenceName);
$data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM ' . $this->_platform->quoteIdentifier($sequenceName));
return new Sequence($sequenceName, $data[0]['increment_by'], $data[0]['min_value']);
}
......
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