We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66096b5 commit 4f30ac6Copy full SHA for 4f30ac6
clickhouse_backend/management/commands/inspectdb.py
@@ -96,7 +96,8 @@ def table2model(table_name):
96
97
comment = None
98
managed_comment = ""
99
- if info := table_info.get(table_name):
+ info = table_info.get(table_name)
100
+ if info:
101
if info.type == "v":
102
managed_comment = " # Created from a view. Don't remove."
103
if connection.features.supports_comments:
0 commit comments