@strapi/database 4.5.5 → 4.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,7 +61,7 @@ const createMigrationsProvider = (db) => {
61
61
  async shouldRun() {
62
62
  const pending = await migrations.pending();
63
63
 
64
- return pending.length > 0 && db.settings.runMigrations;
64
+ return pending.length > 0 && db.config.settings.runMigrations;
65
65
  },
66
66
  async up() {
67
67
  await migrations.up();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/database",
3
- "version": "4.5.5",
3
+ "version": "4.5.6",
4
4
  "description": "Strapi's database layer",
5
5
  "homepage": "https://strapi.io",
6
6
  "bugs": {
@@ -43,5 +43,5 @@
43
43
  "node": ">=14.19.1 <=18.x.x",
44
44
  "npm": ">=6.0.0"
45
45
  },
46
- "gitHead": "8f1988367c1ccbbb1c44866d9dc9fa512e4f3b31"
46
+ "gitHead": "d36609ff26fb4e00a41a7e2b657f16c7466203fe"
47
47
  }