We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58b4698 commit 2118c6bCopy full SHA for 2118c6b
models/migrations/v1_23/v300.go
@@ -15,7 +15,7 @@ type CommentMetaData struct {
15
16
func AddCommentMetaDataColumn(x *xorm.Engine) error {
17
type Comment struct {
18
- 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
19
}
20
21
return x.Sync(new(Comment))
0 commit comments