mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-03 18:17:45 +00:00
fix: Editor page with redundant table fields of the same name in othe… (#1765)
Co-authored-by: 王玉东 <wangyudong@qiyi.com>
This commit is contained in:
@@ -54,7 +54,7 @@ async def get_editor_tables(
|
||||
for table in tables:
|
||||
table_node: DataNode = DataNode(title=table, key=table, type="table")
|
||||
db_node.children.append(table_node)
|
||||
fields = db_conn.get_fields(table)
|
||||
fields = db_conn.get_fields(table, db_name)
|
||||
for field in fields:
|
||||
table_node.children.append(
|
||||
DataNode(
|
||||
|
Reference in New Issue
Block a user