Update the property field model to interface with SQLX (#29987)

* Update the property field model to interface with SQLX

* Fix tests
Этот коммит содержится в:
Miguel de la Cruz
2025-01-30 04:32:24 +01:00
коммит произвёл GitHub
родитель bec3bbf88f
Коммит 9f172fed70
3 изменённых файлов: 26 добавлений и 161 удалений

Просмотреть файл

@@ -24,7 +24,7 @@ type PropertyField struct {
GroupID string `json:"group_id"`
Name string `json:"name"`
Type PropertyFieldType `json:"type"`
Attrs map[string]any `json:"attrs"`
Attrs StringInterface `json:"attrs"`
TargetID string `json:"target_id"`
TargetType string `json:"target_type"`
CreateAt int64 `json:"create_at"`