fix(memory): Use text as the underlying type of string (#129)

This commit is contained in:
liuyunchao-1998
2025-07-28 17:40:33 +08:00
committed by GitHub
parent b299adacf3
commit 4a44c0ddbd
2 changed files with 3 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ const (
func SwitchToDataType(itemType table.FieldItemType) entity.DataType {
switch itemType {
case table.FieldItemType_Text:
return entity.TypeVarchar
return entity.TypeText
case table.FieldItemType_Number:
return entity.TypeBigInt
case table.FieldItemType_Date: