@strapi/database 4.25.24 → 4.26.0

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.
package/dist/index.js CHANGED
@@ -1607,7 +1607,7 @@ const createSchemaStorage = (db) => {
1607
1607
  };
1608
1608
  },
1609
1609
  hashSchema(schema) {
1610
- return crypto__default.default.createHash("md5").update(JSON.stringify(schema)).digest("hex");
1610
+ return crypto__default.default.createHash("sha256").update(JSON.stringify(schema)).digest("hex");
1611
1611
  },
1612
1612
  async add(schema) {
1613
1613
  await checkTableExists();