diff --git a/core/src/data/Migration.ts b/core/src/data/Migration.ts index d965eeab..a6639b3b 100644 --- a/core/src/data/Migration.ts +++ b/core/src/data/Migration.ts @@ -30,7 +30,7 @@ export class Migration { const databaseName = await getDatabaseName(this.pluginSuffix); await this.ensureDbExists(dal.pool._pool, databaseName); - + const pool = this.pluginSuffix ? await dal.pluginPool(this.pluginSuffix) : dal.pool._pool;