@strapi/database 5.0.2-beta.0 → 5.0.2

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
@@ -611,7 +611,7 @@ class MysqlSchemaInspector {
611
611
  columns: [index2.Column_name],
612
612
  name: index2.Key_name
613
613
  };
614
- if (!index2.Non_unique || index2.Non_unique === "0") {
614
+ if (!index2.Non_unique) {
615
615
  indexInfo.type = "unique";
616
616
  }
617
617
  ret[index2.Key_name] = indexInfo;