Skip to content

Commit

Permalink
fix: pass fake flag to undoLastMigration (#9562)
Browse files Browse the repository at this point in the history
Closes: #9561
  • Loading branch information
barakshelef-oasis committed Dec 3, 2022
1 parent b566d54 commit 2458ac7
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 2458ac7

Please sign in to comment.