From 6e4d160251c6987d18226337ca1be21f1d89175b Mon Sep 17 00:00:00 2001 From: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Date: Thu, 27 Jul 2023 17:52:24 +0200 Subject: [PATCH] docs: Upgrade guide for 1.13.0 (#4614) --- .../upgrade-guides/medusa-core/1-13-0.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docs/content/upgrade-guides/medusa-core/1-13-0.md diff --git a/docs/content/upgrade-guides/medusa-core/1-13-0.md b/docs/content/upgrade-guides/medusa-core/1-13-0.md new file mode 100644 index 0000000000..5d421863a1 --- /dev/null +++ b/docs/content/upgrade-guides/medusa-core/1-13-0.md @@ -0,0 +1,37 @@ +--- +description: 'Actions Required for v.1.13.0' +sidebar_custom_props: + iconName: 'server-stack-solid' +--- + +# v1.13.0 + +Version 1.13.0 of Medusa introduces database schema changes that require you run the migrations command. + +## Overview + +This release contains a migration that changes the relationship between Shipping Profile and Product to Many-to-Many. + +--- + +## How to Update + +Run the following command in the root directory of your Medusa Backend: + +```bash npm2yarn +npm install @medusajs/medusa@1.13.0 +``` + +To avoid unexpected issues with dependencies, it is also recommended to update all other Medusa plugins or packages you have installed. + +--- + +## Actions Required + +### Run Migrations + +After updating your Medusa server and before running it, run the following command to run the latest migrations: + +```bash +npx @medusajs/medusa-cli migrations run +```