🐛 change varchar size
This commit is contained in:
parent
17477a846b
commit
0e96b3ca84
@ -26,8 +26,8 @@ type Encounter struct { // Encounter 或者称为 post,指的就是 Human 单
|
||||
// Time 从 CreatedAt 中解析
|
||||
|
||||
// TAG Avatar 最好是压缩后的备份图像
|
||||
Avatar string `gorm:"type:varchar(1s0)" json:"avatar,omitempty"` // 缩略图 url,为 Go 获取 Photo 之后压缩处理后的图像,单独存储。
|
||||
AvatarHeight uint16 `json:"avatar_height,omitempty"` // 为了方便前端在加载图像前的骨架图 & 瀑布流展示。
|
||||
Avatar string `gorm:"type:varchar(50)" json:"avatar,omitempty"` // 缩略图 url,为 Go 获取 Photo 之后压缩处理后的图像,单独存储。
|
||||
AvatarHeight uint16 `json:"avatar_height,omitempty"` // 为了方便前端在加载图像前的骨架图 & 瀑布流展示。
|
||||
AvatarWidth uint16 `json:"avatar_width,omitempty"`
|
||||
Photos string `gorm:"type:varchar(100)" json:"photos,omitempty"` // 图片数组
|
||||
// POI
|
||||
|
Loading…
x
Reference in New Issue
Block a user