We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07cee39 commit 1b54b75Copy full SHA for 1b54b75
repository/comment.go
@@ -11,7 +11,7 @@ type comment struct {
11
GormModel // ID, CreatedAt, UpdatedAt
12
ItemID int `gorm:"not null"`
13
UserID string `gorm:"type:varchar(32);not null"`
14
- Text string `gorm:"type:text;not null"`
+ Text string `gorm:"column:comment;type:text;not null"`
15
DeletedAt *time.Time
16
}
17
0 commit comments