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:
@ -124,6 +124,8 @@ export class AddContextToActorCompositeTypeCommand extends ActiveWorkspacesComma
|
||||
workspaceId,
|
||||
);
|
||||
}
|
||||
|
||||
this.twentyORMGlobalManager.destroyDataSourceForWorkspace(workspaceId);
|
||||
}
|
||||
|
||||
private async addContextColumn(
|
||||
|
||||
@ -77,6 +77,8 @@ export class SeedWorkflowViewsCommand extends ActiveWorkspacesCommandRunner {
|
||||
workflowObjectMetadata.id,
|
||||
dryRun,
|
||||
);
|
||||
|
||||
this.twentyORMGlobalManager.destroyDataSourceForWorkspace(workspaceId);
|
||||
}
|
||||
|
||||
private async seedWorkflowViews(
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
### 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
|
||||
|
||||
Upgrade your Twenty instance to use v0.40.0 image
|
||||
|
||||
Reference in New Issue
Block a user