From 05da31a86936e4026122c9a9d5564ce71bf7421e Mon Sep 17 00:00:00 2001 From: Barak Shelef <107487965+barakshelef-oasis@users.noreply.github.com> Date: Mon, 21 Nov 2022 20:05:41 +0200 Subject: [PATCH] fix: pass fake flag to undoLastMigration Closes: #9561 --- src/commands/MigrationRevertCommand.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/MigrationRevertCommand.ts b/src/commands/MigrationRevertCommand.ts index 0c4b878667..d4315c4a1e 100644 --- a/src/commands/MigrationRevertCommand.ts +++ b/src/commands/MigrationRevertCommand.ts @@ -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) {