orchid-orm 1.5.21 → 1.5.22

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
@@ -1652,6 +1652,11 @@ const createTable$1 = ({ filePath, tablePath, statements, object, content, space
1652
1652
  );
1653
1653
  if (existing.length)
1654
1654
  return;
1655
+ for (const prop of object.properties) {
1656
+ if (key === ts.prop.getName(prop)) {
1657
+ return;
1658
+ }
1659
+ }
1655
1660
  const importPos = ts.import.getEndPos(statements);
1656
1661
  changes.add(
1657
1662
  importPos,