Fix mistake with previous commit.

I forgot to put the correct variable into the query like a doofus.

Refs #4168
This commit is contained in:
mark_story 2014-11-18 22:03:21 -05:00
parent 5dab175aa9
commit 23c5805763

View file

@ -354,7 +354,7 @@ class Postgres extends DboSource {
if (isset($this->_sequenceMap[$table]) && $reset != true) {
foreach ($this->_sequenceMap[$table] as $sequence) {
$quoted = $this->name($sequence);
$this->_execute("ALTER SEQUENCE {$sequence} RESTART WITH 1");
$this->_execute("ALTER SEQUENCE {$quoted} RESTART WITH 1");
}
}
return true;