added reply id

main v1.0.8
alex 2024-09-10 22:33:25 +02:00
parent db2c573b33
commit c7c6f2cd22
1 changed files with 2 additions and 1 deletions

View File

@ -4,8 +4,9 @@ import "time"
type Question struct {
Id string `gorm:"primaryKey;type:varchar(36)"`
QuestionId string `gorm:"type:varchar(36)"`
LessonId string `gorm:"type:varchar(36)"`
QuestionId string `gorm:"type:varchar(36)"`
ReplyId string `gorm:"type:varchar(36)"`
Message string `gorm:"type:text"`
Likes uint16 `gorm:"type:smallint(5)"`
CreatorUserId string `gorm:"type:varchar(36)"`