From 23a2821a28f5adaa7f9b5e70e74c4bd8a33e0995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Tue, 6 Aug 2024 09:44:05 +0200 Subject: [PATCH] Update upgrade-guide.mdx (#6549) Fix command --- .../content/developers/self-hosting/upgrade-guide.mdx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx b/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx index caeb20716..a82bf8998 100644 --- a/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx +++ b/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx @@ -30,17 +30,22 @@ yarn command:prod workspace:sync-metadata -f yarn command:prod upgrade-0.22 ``` +The `yarn database:migrate:prod` command will apply the migrations to the Database. +The `yarn command:prod workspace:sync-metadata -f` command will sync the definition of standard objects to the metadata tables and apply to required migrations to existing workspaces. +The `yarn command:prod upgrade-0.22` command will apply specific data transformations to adapt to the new object defaultRequestInstrumentationOptions. + ## v0.22.0 to v0.23.0 Run the following commands: ``` yarn database:migrate:prod +yarn command:prod workspace:sync-metadata -f yarn command:prod upgrade-0.23 ``` The `yarn database:migrate:prod` command will apply the migrations to the Database. -The `yarn command:prod workspace:sync-metadata -f` command will sync the definition of standard objects to the metadata tables and apply to required migrations to existing workspaces. -The `yarn command:prod upgrade-0.22` command will apply specific data transformations to adapt to the new object defaultRequestInstrumentationOptions. +The `yarn command:prod workspace:sync-metadata -f` command will sync the definition of standard objects to the metadata tables and apply to required migrations to existing workspaces. We're introducing Task and Notes as standard object and will be deprecating the Activity object. +The `yarn command:prod upgrade-0.23` takes care of the data migration, including transferring activities to tasks/notes.