Skip to content

Commit

Permalink
Cleaup relationship SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
coreybutler committed Nov 28, 2023
1 parent 53927de commit 0290cd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extractor/postgresql/sql/relationships.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ FROM information_schema.columns col
ON pc.oid = pd.objoid
WHERE [SCHEMA_FILTER]
AND kcu.constraint_name IS NOT NULL
AND rel.column_name IS NOT NULL
AND col.column_name IS NOT NULL
ORDER BY
col.table_schema,
col.table_name,
Expand Down

0 comments on commit 0290cd8

Please sign in to comment.