orchid-orm 1.28.2 → 1.28.4

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.
@@ -2422,18 +2422,20 @@ const processHasAndBelongsToManyColumn = (column, habtmTables, codeItems) => {
2422
2422
  const column2 = Object.create(joinTable.shape[key]);
2423
2423
  column2.data = __spreadProps$1(__spreadValues$1({}, column2.data), {
2424
2424
  identity: void 0,
2425
- isPrimaryKey: void 0,
2425
+ primaryKey: void 0,
2426
2426
  default: void 0
2427
2427
  });
2428
2428
  shape[key] = column2;
2429
2429
  }
2430
2430
  joinTable.shape = shape;
2431
- joinTable.internal.tableData = {
2432
- primaryKey: {
2433
- columns: Object.keys(shape)
2434
- }
2435
- };
2436
- joinTable.internal.noPrimaryKey = false;
2431
+ joinTable.internal = __spreadProps$1(__spreadValues$1({}, joinTable.internal), {
2432
+ tableData: {
2433
+ primaryKey: {
2434
+ columns: Object.keys(shape)
2435
+ }
2436
+ },
2437
+ noPrimaryKey: false
2438
+ });
2437
2439
  codeItems.tables.push(joinTable);
2438
2440
  return;
2439
2441
  };