mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
Update models/migrations/v1_23/v297.go
Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
parent
58b4698ad5
commit
2118c6b678
@ -15,7 +15,7 @@ type CommentMetaData struct {
|
||||
|
||||
func AddCommentMetaDataColumn(x *xorm.Engine) error {
|
||||
type Comment struct {
|
||||
CommentMetaData CommentMetaData `xorm:"JSON TEXT"` // put all non-index metadata in a single field
|
||||
CommentMetaData *CommentMetaData `xorm:"JSON TEXT"` // put all non-index metadata in a single field
|
||||
}
|
||||
|
||||
return x.Sync(new(Comment))
|
||||
|
Loading…
Reference in New Issue
Block a user