@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.mjs CHANGED
@@ -1573,7 +1573,7 @@ const createSchemaStorage = (db) => {
1573
1573
  };
1574
1574
  },
1575
1575
  hashSchema(schema) {
1576
- return crypto.createHash("md5").update(JSON.stringify(schema)).digest("hex");
1576
+ return crypto.createHash("sha256").update(JSON.stringify(schema)).digest("hex");
1577
1577
  },
1578
1578
  async add(schema) {
1579
1579
  await checkTableExists();