Skip to content

Commit c486a08

Browse files
authored
See if this helps with migration connection
1 parent 69fe32b commit c486a08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

migrations/umzug/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ const { Umzug, SequelizeStorage } = require('umzug');
66
const sequelize = new Sequelize(config.get('dbConfig.masterUrl'), {
77
dialect: 'postgres',
88
schema: config.get('dbConfig.schema'),
9+
dialectOptions: {
10+
prependSearchPath: true
11+
},
12+
searchPath: config.get('dbConfig.schema'),
913
});
1014

1115
// Initialize Umzug

0 commit comments

Comments
 (0)