Optimize migrate-email-fields-command (#7035)

Quick follow up to prepare for 0.30 release
This commit is contained in:
Charles Bochet
2024-09-15 13:13:35 +02:00
committed by GitHub
parent f54eea0227
commit 872f52990a
4 changed files with 77 additions and 24 deletions

View File

@ -53,4 +53,8 @@ export class TwentyORMGlobalManager {
async loadDataSourceForWorkspace(workspaceId: string) {
await this.workspaceDataSourceFactory.create(workspaceId, null);
}
async destroyDataSourceForWorkspace(workspaceId: string) {
await this.workspaceDataSourceFactory.destroy(workspaceId, null);
}
}