diff --git a/www/apps/resources/app/medusa-cli/commands/db/page.mdx b/www/apps/resources/app/medusa-cli/commands/db/page.mdx index 8f70bd6835f32..d21c93f27fcf6 100644 --- a/www/apps/resources/app/medusa-cli/commands/db/page.mdx +++ b/www/apps/resources/app/medusa-cli/commands/db/page.mdx @@ -276,7 +276,7 @@ npx medusa db:generate ## db\:migrate -Run the latest migrations to reflect changes on the database, and sync link definitions with the database. +Run the latest migrations to reflect changes on the database, sync link definitions with the database, and run migration data scripts. ```bash npx medusa db:migrate @@ -325,6 +325,30 @@ Use this command if you've updated the Medusa packages, or you've created custom + `--skip-scripts` + + + + + Skip running data migration scripts. This option is added starting from + [Medusa v2.3.0](https://github.com/medusajs/medusa/releases/tag/v2.3.0). + + + + + No + + + + + Data migration scripts are run by default starting from + [Medusa v2.3.0](https://github.com/medusajs/medusa/releases/tag/v2.3.0). + + + + + + `--execute-safe-links` diff --git a/www/apps/resources/generated/edit-dates.mjs b/www/apps/resources/generated/edit-dates.mjs index bb1f92a047c0a..2654962a9d686 100644 --- a/www/apps/resources/generated/edit-dates.mjs +++ b/www/apps/resources/generated/edit-dates.mjs @@ -591,7 +591,7 @@ export const generatedEditDates = { "references/types/NotificationTypes/interfaces/types.NotificationTypes.ProviderSendNotificationDTO/page.mdx": "2024-12-17T16:57:21.138Z", "references/types/interfaces/types.BaseProductCategory/page.mdx": "2024-12-23T13:57:05.885Z", "references/types/types.NotificationTypes/page.mdx": "2024-11-25T17:49:28.027Z", - "app/medusa-cli/commands/db/page.mdx": "2024-08-28T11:26:33.889Z", + "app/medusa-cli/commands/db/page.mdx": "2025-01-16T07:34:08.014Z", "app/medusa-cli/commands/develop/page.mdx": "2024-08-28T10:43:45.452Z", "app/medusa-cli/commands/exec/page.mdx": "2024-08-28T10:45:31.229Z", "app/medusa-cli/commands/new/page.mdx": "2024-08-28T10:43:34.110Z",