Skip to content

Commit

Permalink
Add instructions to upgrade to 0.41 in docs (#9964)
Browse files Browse the repository at this point in the history
As per title

Also:
- making sure to destroy datasource in upgrade commands to lower memory
usage
  • Loading branch information
guillim authored Feb 1, 2025
1 parent 7fd8967 commit c9ca87f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ export class AddContextToActorCompositeTypeCommand extends ActiveWorkspacesComma
workspaceId,
);
}

this.twentyORMGlobalManager.destroyDataSourceForWorkspace(workspaceId);
}

private async addContextColumn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export class SeedWorkflowViewsCommand extends ActiveWorkspacesCommandRunner {
workflowObjectMetadata.id,
dryRun,
);

this.twentyORMGlobalManager.destroyDataSourceForWorkspace(workspaceId);
}

private async seedWorkflowViews(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9ca87f

Please sign in to comment.