Merge branch '3.0' into 3

This commit is contained in:
Maxime Rainville 2023-07-02 21:49:01 +12:00
commit cf2cd37c1a
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class PostgreSQLConnector extends DBConnector
public function getGeneratedID($table) public function getGeneratedID($table)
{ {
return $this->query("SELECT currval('\"{$table}_ID_seq\"')")->value(); return $this->query("SELECT currval(pg_get_serial_sequence('\"{$table}\"','ID'))")->value();
} }
public function getLastError() public function getLastError()