Skip to content

Commit

Permalink
fix(typeorm): remove migrations subcommands (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasGcf committed Apr 19, 2022
1 parent afcc945 commit 0040362
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/typeorm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const completionSpec: Fig.Spec = {
],
},
{
name: ["migration:create", "migrations:create"],
name: "migration:create",
description: "Creates a new migration file",
options: [
cliOptions.help,
Expand All @@ -139,7 +139,7 @@ const completionSpec: Fig.Spec = {
],
},
{
name: ["migration:generate", "migrations:generate"],
name: "migration:generate",
description:
"Generates a new migration file with sql needs to be executed to update schema",
options: [
Expand Down Expand Up @@ -180,7 +180,7 @@ const completionSpec: Fig.Spec = {
],
},
{
name: ["migration:run", "migrations:run"],
name: "migration:run",
description: "Runs all pending migrations",
options: [
cliOptions.help,
Expand All @@ -205,7 +205,7 @@ const completionSpec: Fig.Spec = {
],
},
{
name: ["migration:revert", "migrations:revert"],
name: "migration:revert",
description: "Reverts last executed migration",
options: [
cliOptions.help,
Expand Down

0 comments on commit 0040362

Please sign in to comment.