diff --git a/pgsync/node.py b/pgsync/node.py index cf726aba..b838a81d 100644 --- a/pgsync/node.py +++ b/pgsync/node.py @@ -288,8 +288,6 @@ def build(self, data: dict) -> Node: ) self.tables.add(node.table) - for through_node in node.relationship.through_nodes: - self.tables.add(through_node.table) for child in data.get("children", []): node.add_child(self.build(child))