Skip to content

Commit e4b07ab

Browse files
committed
refactor: Synchronize field types
1 parent 6c975b6 commit e4b07ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/apps/datasource/crud/datasource.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def sync_fields(session: SessionDep, ds: CoreDatasource, table: CoreTable, field
205205

206206
record.field_comment = item.fieldComment
207207
record.field_index = index
208+
record.field_type = item.fieldType
208209
session.add(record)
209210
session.commit()
210211
else:

0 commit comments

Comments
 (0)