Fix an issue in ERD tool where SQL generated is missing columns for the table. #6920

This commit is contained in:
Anil Sahoo 2023-11-13 13:53:10 +05:30 committed by GitHub
parent 0ac471d160
commit 7f49b891df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -339,7 +339,7 @@ def parse_format_columns(data, mode=None):
final_columns = []
for c in columns:
if 'inheritedfrom' not in c:
if c.get('inheritedfrom', None) is None:
final_columns.append(c)
# Now we have all lis of columns which we need