Skip to content

Commit

Permalink
fix: pass fake flag to undoLastMigration
Browse files Browse the repository at this point in the history
Closes: typeorm#9561
  • Loading branch information
barakshelef-oasis committed Nov 21, 2022
1 parent 85fa9c6 commit 05da31a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/MigrationRevertCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class MigrationRevertCommand implements yargs.CommandModule {
transaction:
dataSource.options.migrationsTransactionMode ??
("all" as "all" | "none" | "each"),
fake: !!args.f,
}

switch (args.t) {
Expand Down

0 comments on commit 05da31a

Please sign in to comment.