Skip to content

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhan005 committed Jan 10, 2024
1 parent ee10847 commit 9b7df54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/db/questions.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ type Question struct {
UserID uint `gorm:"index:idx_question_user_id" json:"-"`
Content string `json:"content"`
ContentCensorMetadata datatypes.JSON `json:"-"`
ContentCensorPass dbutil.ContentCensorPass `json:"-"`
ContentCensorPass dbutil.ContentCensorPass `gorm:"->" json:"-"`
Token string `json:"-"`
Answer string `json:"answer"`
AnswerCensorMetadata datatypes.JSON `json:"-"`
AnswerCensorPass dbutil.AnswerCensorPass `json:"-"`
AnswerCensorPass dbutil.AnswerCensorPass `gorm:"->" json:"-"`
ReceiveReplyEmail string `json:"-"`
AskerUserID uint `json:"-"`
IsPrivate bool `gorm:"default: FALSE; NOT NULL" json:"-"`
Expand Down

0 comments on commit 9b7df54

Please sign in to comment.