mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
5dab175aa9
commit
23c5805763
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue