Skip to content

Commit 408e66e

Browse files
committed
fix umzug glob
1 parent cef4739 commit 408e66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/umzug/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ console.log('Umzug migrations running in:', __dirname);
1212
// Initialize Umzug
1313
const umzug = new Umzug({
1414
migrations: {
15-
glob: 'migrations/*.js',
15+
glob: __dirname + '/migrations/*.js',
1616
resolve: ({ name, path, context }) => {
1717
const migration = require(path);
1818
return {

0 commit comments

Comments
 (0)