docs: Upgrade guide for 1.13.0 (#4614)

This commit is contained in:
Oli Juhl
2023-07-27 17:52:24 +02:00
committed by GitHub
parent 375447155d
commit 6e4d160251

View File

@@ -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
```