Add logs before and after instance slow data migration (#19753)

As it can take sometime, would result in not seeing any logs until
This commit is contained in:
Paul Rastoin
2026-04-16 11:08:37 +02:00
committed by GitHub
parent 48c540eb6f
commit f5e8c05267
@@ -129,7 +129,9 @@ export class InstanceCommandRunnerService {
this.twentyConfigService.get('APP_VERSION') ?? 'unknown';
try {
this.logger.log(`${name} starting data migration...`);
await command.runDataMigration(this.dataSource);
this.logger.log(`${name} data migration completed`);
} catch (error) {
const workspaceIds =
await this.workspaceVersionService.getActiveOrSuspendedWorkspaceIds();