mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-10 06:48:09 +00:00
Fix table constraint error (#20191)
(cherry picked from commit 9ddda9c2468c696c5a4b09cdf06d456537d65ff0)
This commit is contained in:
parent
6d48d58a10
commit
6ce1bd7f13
@ -712,7 +712,7 @@ class CommonDbSourceService(
|
||||
table_constraints.extend(
|
||||
constraint
|
||||
for constraint in foreign_table_constraints
|
||||
if constraint not in table_constraints
|
||||
if constraint and constraint not in table_constraints
|
||||
)
|
||||
else:
|
||||
table_constraints = foreign_table_constraints
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user