@strapi/database 5.0.0-rc.7 → 5.0.0-rc.9

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
@@ -2557,7 +2557,8 @@ const createJoinTable = (metadata, { attributeName, attribute, meta }) => {
2557
2557
  column: {
2558
2558
  unsigned: true,
2559
2559
  defaultTo: null
2560
- }
2560
+ },
2561
+ columnName: orderColumnName
2561
2562
  };
2562
2563
  metadataSchema.indexes.push({
2563
2564
  name: identifiers.getOrderFkIndexName(joinTableName),
@@ -2572,7 +2573,8 @@ const createJoinTable = (metadata, { attributeName, attribute, meta }) => {
2572
2573
  column: {
2573
2574
  unsigned: true,
2574
2575
  defaultTo: null
2575
- }
2576
+ },
2577
+ columnName: inverseOrderColumnName
2576
2578
  };
2577
2579
  metadataSchema.indexes.push({
2578
2580
  name: identifiers.getOrderInverseFkIndexName(joinTableName),