Skip to content

See if this helps with migration connection #826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2025
Merged

See if this helps with migration connection #826

merged 1 commit into from
Jun 22, 2025

Conversation

jmgasper
Copy link
Collaborator

No description provided.

@@ -6,6 +6,10 @@ const { Umzug, SequelizeStorage } = require('umzug');
const sequelize = new Sequelize(config.get('dbConfig.masterUrl'), {
dialect: 'postgres',
schema: config.get('dbConfig.schema'),
dialectOptions: {
prependSearchPath: true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prependSearchPath option is not a standard Sequelize option. Ensure that this option is supported by the version of Sequelize being used, or provide a custom implementation if necessary.

dialectOptions: {
prependSearchPath: true
},
searchPath: config.get('dbConfig.schema'),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The searchPath option is being set to config.get('dbConfig.schema'). Verify that this value is correctly retrieved from the configuration and matches the expected schema name in the database.

@jmgasper jmgasper merged commit 86b9c3a into master Jun 22, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant