Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typeorm): remove migrations subcommands #1150

Merged
merged 1 commit into from
Apr 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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