1
0
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:
Lunny Xiao 2024-05-02 13:23:31 +08:00
parent 58b4698ad5
commit 2118c6b678

View File

@ -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))