fix: oplog gorm type
This commit is contained in:
parent
dac1f65fc2
commit
1b1143e93e
@ -288,7 +288,7 @@ type OpLog struct {
|
||||
|
||||
UserId uint64 `json:"user_id" gorm:"column:user_id"`
|
||||
Username string `json:"username" gorm:"column:username;varchar(128)"`
|
||||
Type OpLogType `json:"type" gorm:"column:type;type:varchar(128)"`
|
||||
Type OpLogType `json:"type" gorm:"column:type"`
|
||||
Content sqlType.JSONB `json:"content" gorm:"column:content;type:jsonb"`
|
||||
HTML string `json:"html" gorm:"-"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user