fix: db:rollback and db:generate commands to cast module names to arrays (#9377)

FIXES: FRMW-2720
This commit is contained in:
Harminder Virk
2024-09-30 17:47:04 +05:30
committed by GitHub
parent d8c4e0de1d
commit 37f4d03b7b

View File

@@ -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,
},
@@ -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,
},