orchid-orm 1.28.2 → 1.28.3

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