Skip to content

Commit

Permalink
Merge pull request #1 from loren/fk_on_through_tables
Browse files Browse the repository at this point in the history
  • Loading branch information
loren authored Aug 24, 2022
2 parents 7fc4b6f + 0ed331a commit 175b7d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pgsync/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 175b7d3

Please sign in to comment.