Skip to content

Commit

Permalink
fix: db:rollback and db:generate commands to cast module names to arr…
Browse files Browse the repository at this point in the history
…ays (medusajs#9377)

FIXES: FRMW-2720
  • Loading branch information
thetutlage authored Sep 30, 2024
1 parent d8c4e0d commit 37f4d03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/medusa-cli/src/create-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ function buildLocalCommands(cli, isLocalProject) {
desc: "Rollback last batch of executed migrations for a given module",
builder: {
modules: {
type: "array",
description: "Modules for which to rollback migrations",
demand: true,
},
Expand All @@ -223,6 +224,7 @@ function buildLocalCommands(cli, isLocalProject) {
desc: "Generate migrations for a given module",
builder: {
modules: {
type: "array",
description: "Modules for which to generate migration files",
demand: true,
},
Expand Down

0 comments on commit 37f4d03

Please sign in to comment.