Skip to content

Commit

Permalink
Fix case where ALL_TAB_COLUMNS instead of USER_TAB_COLUMNS. Thanks to…
Browse files Browse the repository at this point in the history
… rvanouter for the report.
  • Loading branch information
darold committed Feb 18, 2024
1 parent d1e8e65 commit 7412b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ora2Pg/Oracle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ SELECT a.table_name AS fk_table_name,
FROM $self->{prefix}_CONS_COLUMNS A
JOIN $self->{prefix}_CONSTRAINTS C
ON A.CONSTRAINT_NAME = C.CONSTRAINT_NAME
JOIN all_tab_columns b
JOIN $self->{prefix}_tab_columns b
ON a.owner = b.owner
AND a.table_name = b.table_name
AND a.column_name = b.column_name
Expand Down

0 comments on commit 7412b54

Please sign in to comment.