Commit b357ea40 authored by zhanglu's avatar zhanglu

Merge branch 'feature/virtual_vote_num' into 'dev'

帖子添加虚拟点赞

See merge request alpha/physical!219
parents a447c569 42453f10
......@@ -248,7 +248,7 @@ class PictorialTopic(models.Model):
is_deleted = models.BooleanField(verbose_name=u'是否删除')
class TopicExtra(BaseModel):
class TopicExtra(models.Model):
"""帖子相关额外信息"""
class Meta:
......@@ -256,5 +256,6 @@ class TopicExtra(BaseModel):
app_label = 'community'
db_table = 'topic_extra'
id = models.IntegerField(verbose_name=u'ID', primary_key=True)
topic_id = models.IntegerField(verbose_name=u"帖子ID",db_index=True)
virtual_vote_num = models.IntegerField(verbose_name="帖子虚拟点赞")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment