Add instructions to upgrade to 0.41 in docs (#9964)

As per title

Also:
- making sure to destroy datasource in upgrade commands to lower memory
usage
This commit is contained in:
Guillim
2025-02-01 12:11:27 +01:00
committed by GitHub
parent 7fd89678b7
commit c9ca87f49f
3 changed files with 20 additions and 0 deletions

View File

@ -124,6 +124,8 @@ export class AddContextToActorCompositeTypeCommand extends ActiveWorkspacesComma
workspaceId, workspaceId,
); );
} }
this.twentyORMGlobalManager.destroyDataSourceForWorkspace(workspaceId);
} }
private async addContextColumn( private async addContextColumn(

View File

@ -77,6 +77,8 @@ export class SeedWorkflowViewsCommand extends ActiveWorkspacesCommandRunner {
workflowObjectMetadata.id, workflowObjectMetadata.id,
dryRun, dryRun,
); );
this.twentyORMGlobalManager.destroyDataSourceForWorkspace(workspaceId);
} }
private async seedWorkflowViews( private async seedWorkflowViews(

View File

@ -26,6 +26,22 @@ If you want to upgrade your instance by few versions, e.g. from 0.33.0 to 0.35.0
## Version-specific upgrade steps ## Version-specific upgrade steps
### v0.40.0 to v0.41.0
Upgrade your Twenty instance to use v0.41.0 image
```
yarn database:migrate:prod
yarn command:prod upgrade-0.41
```
**Environment Variables**
- Removed: `AUTH_MICROSOFT_TENANT_ID`
### v0.35.0 to v0.40.0 ### v0.35.0 to v0.40.0
Upgrade your Twenty instance to use v0.40.0 image Upgrade your Twenty instance to use v0.40.0 image