modified: main_dc/yalarba/api_es/internal/models/account.go

modified:   main_dc/yalarba/api_es/internal/models/base.go
prettify it
This commit is contained in:
2026-01-22 15:48:34 +05:00
parent 4c5a7af5f5
commit ea87f024c3
2 changed files with 10 additions and 10 deletions
@@ -10,5 +10,5 @@ type Base struct {
CreatedAt time.Time `json:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
UpdateHistories []UpdateHistory `gorm:"polymorphic:Model" json:"-"` // убран polymorphicValue
UpdateHistories []UpdateHistory `gorm:"polymorphic:Model" json:"-"`
}