更新model
This commit is contained in:
+2
-2
@@ -79,7 +79,7 @@ class CooperationMindStar(AbstractModel):
|
||||
"""
|
||||
收藏记录表
|
||||
"""
|
||||
user_id = models.BigIntegerField(verbose_name='收藏人', null=False)
|
||||
operator_user_id = models.BigIntegerField(verbose_name='收藏人', null=False)
|
||||
coop_mind = models.ForeignKey(to="CooperationMind", to_field="id", verbose_name="脑图ID", on_delete=models.CASCADE)
|
||||
coop_mind_name = models.CharField(verbose_name='脑图名称', max_length=128, null=False, blank=False)
|
||||
|
||||
@@ -88,6 +88,6 @@ class CooperationMindStar(AbstractModel):
|
||||
class Meta:
|
||||
db_table = 'cooperation_mind_star'
|
||||
indexes = [
|
||||
models.Index(fields=['user_id'], ),
|
||||
models.Index(fields=['operator_user_id'], ),
|
||||
]
|
||||
verbose_name = "协作分享表"
|
||||
|
||||
Reference in New Issue
Block a user