mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
修改BUG
This commit is contained in:
@@ -17,7 +17,7 @@ type CommentVote struct {
|
|||||||
|
|
||||||
// TableName 获取对应数据库表名.
|
// TableName 获取对应数据库表名.
|
||||||
func (m *CommentVote) TableName() string {
|
func (m *CommentVote) TableName() string {
|
||||||
return "comments"
|
return "comment_votes"
|
||||||
}
|
}
|
||||||
// TableEngine 获取数据使用的引擎.
|
// TableEngine 获取数据使用的引擎.
|
||||||
func (m *CommentVote) TableEngine() string {
|
func (m *CommentVote) TableEngine() string {
|
||||||
|
|||||||
Reference in New Issue
Block a user