@strapi/database 5.0.0-rc.8 → 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.js CHANGED
@@ -2589,7 +2589,8 @@ const createJoinTable = (metadata, { attributeName, attribute, meta }) => {
2589
2589
  column: {
2590
2590
  unsigned: true,
2591
2591
  defaultTo: null
2592
- }
2592
+ },
2593
+ columnName: orderColumnName
2593
2594
  };
2594
2595
  metadataSchema.indexes.push({
2595
2596
  name: identifiers.getOrderFkIndexName(joinTableName),
@@ -2604,7 +2605,8 @@ const createJoinTable = (metadata, { attributeName, attribute, meta }) => {
2604
2605
  column: {
2605
2606
  unsigned: true,
2606
2607
  defaultTo: null
2607
- }
2608
+ },
2609
+ columnName: inverseOrderColumnName
2608
2610
  };
2609
2611
  metadataSchema.indexes.push({
2610
2612
  name: identifiers.getOrderInverseFkIndexName(joinTableName),