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.
2 parents a19bb76 + c486a08 commit 86b9c3aCopy full SHA for 86b9c3a
migrations/umzug/index.js
@@ -6,6 +6,10 @@ const { Umzug, SequelizeStorage } = require('umzug');
6
const sequelize = new Sequelize(config.get('dbConfig.masterUrl'), {
7
dialect: 'postgres',
8
schema: config.get('dbConfig.schema'),
9
+ dialectOptions: {
10
+ prependSearchPath: true
11
+ },
12
+ searchPath: config.get('dbConfig.schema'),
13
});
14
15
// Initialize Umzug
0 commit comments