Skip to content

Commit

Permalink
fix: run migration:reset via migrate test utils
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 10, 2024
1 parent 89322f9 commit 9f669dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
}

/**
Expand Down

0 comments on commit 9f669dd

Please sign in to comment.