Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c41d866

Browse files
committed
bugfix
1 parent fc1e313 commit c41d866

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/model/topic.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ type TopicUpEx struct {
6969
Mtime time.Time `json:"mtime" xorm:"<-"`
7070
}
7171

72+
func (*TopicUpEx) TableName() string {
73+
return "topics_ex"
74+
}
75+
7276
type TopicInfo struct {
7377
Topic `xorm:"extends"`
7478
TopicEx `xorm:"extends"`

0 commit comments

Comments
 (0)