Skip to content

Commit

Permalink
Merge pull request #15374 from denisukvadim/bagfix/15308
Browse files Browse the repository at this point in the history
fix #15308
  • Loading branch information
innerdvations committed Jan 10, 2023
2 parents 921d309 + 17a547e commit c0bd11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/database/lib/migrations/index.js
Expand Up @@ -61,7 +61,7 @@ const createMigrationsProvider = (db) => {
async shouldRun() {
const pending = await migrations.pending();

return pending.length > 0 && db.settings.runMigrations;
return pending.length > 0 && db.config.settings.runMigrations;
},
async up() {
await migrations.up();
Expand Down

0 comments on commit c0bd11c

Please sign in to comment.