This commit is contained in:
chenyang
2022-07-10 15:19:24 +08:00
parent 6c2ddd2955
commit 51674b84ed
4 changed files with 34 additions and 4 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class CooperationMindShare(AbstractModel):
"""
分享记录表
"""
coop_mind = models.ForeignKey(to="CooperationMind", to_field="id", verbose_name="脑图ID", on_delete=models.CASCADE)
coop_mind = models.OneToOneField(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)
share_uuid = models.CharField(verbose_name='分享uuid', max_length=128, null=False, blank=False)
share_uuid_hash = models.BigIntegerField(verbose_name='分享uuid_hash', null=False, blank=False)