From b6faeefa97d88d5e3834a64cecb1225d1bf763e0 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 2 May 2024 13:23:31 +0800 Subject: [PATCH] Update models/migrations/v1_23/v297.go Co-authored-by: yp05327 <576951401@qq.com> --- models/migrations/v1_23/v297.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/migrations/v1_23/v297.go b/models/migrations/v1_23/v297.go index 6d93f4c4f0..94b6c29e19 100644 --- a/models/migrations/v1_23/v297.go +++ b/models/migrations/v1_23/v297.go @@ -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))