From e4b07abf8ecfc88f53f4c7cd1079e0886241534b Mon Sep 17 00:00:00 2001 From: junjun Date: Thu, 28 Aug 2025 14:05:30 +0800 Subject: [PATCH] refactor: Synchronize field types --- backend/apps/datasource/crud/datasource.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/apps/datasource/crud/datasource.py b/backend/apps/datasource/crud/datasource.py index efb6bb97..d112f58c 100644 --- a/backend/apps/datasource/crud/datasource.py +++ b/backend/apps/datasource/crud/datasource.py @@ -205,6 +205,7 @@ def sync_fields(session: SessionDep, ds: CoreDatasource, table: CoreTable, field record.field_comment = item.fieldComment record.field_index = index + record.field_type = item.fieldType session.add(record) session.commit() else: