Skip to content

Commit

Permalink
refactor!: checkOrder by default (#1348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Feb 21, 2025
1 parent cfe1d96 commit 8ca0773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export async function runner(options: RunnerOption): Promise<RunMigration[]> {
getRunMigrations(db, options),
]);

if (options.checkOrder) {
if (options.checkOrder !== false) {
checkOrder(runNames, migrations);
}

Expand Down

0 comments on commit 8ca0773

Please sign in to comment.