修改BUG

pull/25/merge
lifei6671 2017-05-01 20:40:53 +08:00
parent e282f3442b
commit 4538711317
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ type CommentVote struct {
// TableName 获取对应数据库表名.
func (m *CommentVote) TableName() string {
return "comments"
return "comment_votes"
}
// TableEngine 获取数据使用的引擎.
func (m *CommentVote) TableEngine() string {