From 9f669ddde3d11143be81c41452950ccd7ead2ac9 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Thu, 10 Oct 2024 12:38:34 +0530 Subject: [PATCH] fix: run migration:reset via migrate test utils --- src/test_utils/database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_utils/database.ts b/src/test_utils/database.ts index 07e5a88d..6b949bbf 100644 --- a/src/test_utils/database.ts +++ b/src/test_utils/database.ts @@ -63,7 +63,7 @@ export class DatabaseTestUtils { */ async migrate() { await this.#runCommand('migration:run', ['--compact-output']) - return () => this.#runCommand('migration:rollback', ['--compact-output']) + return () => this.#runCommand('migration:reset', ['--compact-output']) } /**