We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 408e66e commit 973ada6Copy full SHA for 973ada6
migrations/umzug/index.js
@@ -7,13 +7,14 @@ const sequelize = new Sequelize(config.get('dbConfig.masterUrl'), {
7
dialect: 'postgres',
8
});
9
10
-console.log('Umzug migrations running in:', __dirname);
+console.log('Umzug migration script:', __dirname);
11
12
// Initialize Umzug
13
const umzug = new Umzug({
14
migrations: {
15
- glob: __dirname + '/migrations/*.js',
+ glob: '__dirname/migrations/*.js',
16
resolve: ({ name, path, context }) => {
17
+ console.log('Loading migration:', name, path);
18
const migration = require(path);
19
return {
20
name,
0 commit comments