fixed jsonb->json

This commit is contained in:
venjiang 2020-02-24 20:49:49 +08:00
parent e01ede433e
commit 0406fba88e
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ type PointerModel struct {
ID string `xorm:"varchar(20) pk unique 'id'" json:"id"`
Username string `xorm:"varchar(100) notnull" json:"username"`
Nickname *string `xorm:"varchar(50) null" json:"nickname"`
Like JSON `xorm:"jsonb default('{}')" json:"like"`
Like JSON `xorm:"json default('{}')" json:"like"`
TJson *JSON `xorm:"json null" json:"t_json"`
TNumeric float64 `xorm:"numeric"`
Description string `xorm:"text" json:"description"`