DbMigration: Adjust usage of `Database::getDb()`

This commit is contained in:
Yonas Habteab 2023-09-15 11:25:33 +02:00 committed by Johannes Meyer
parent fac3855a86
commit 96a6321569
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@ use ipl\Sql\Connection;
class DbMigration extends DbMigrationHook
{
use Database {
getDb as public getPublicDb;
getDb as private getWebDb;
}
public function getDb(): Connection
{
return $this->getPublicDb();
return $this->getWebDb();
}
public function getName(): string