update
This commit is contained in:
+12
-2
@@ -40,7 +40,7 @@ class CooperationMindLog(AbstractModel):
|
||||
coop_mind_id = models.BigIntegerField(verbose_name='脑图ID', null=False, blank=False)
|
||||
log_uuid = models.CharField(verbose_name='操作UUID', max_length=64, null=False, blank=False)
|
||||
log_content = models.CharField(verbose_name='操作内容', max_length=1024, null=False, blank=False)
|
||||
operator = models.BigIntegerField(verbose_name='操作人', null=True)
|
||||
operator_user_id = models.BigIntegerField(verbose_name='操作人', null=True)
|
||||
operator_ip = models.CharField(verbose_name='操作人IP', null=False, max_length=32)
|
||||
client_uuid = models.CharField(verbose_name='客户端ID', max_length=64, null=False, blank=False)
|
||||
|
||||
@@ -50,6 +50,16 @@ class CooperationMindLog(AbstractModel):
|
||||
unique_together = (("coop_mind_id", "log_uuid"),)
|
||||
indexes = [
|
||||
models.Index(fields=['coop_mind_id'], ),
|
||||
models.Index(fields=['operator'], )
|
||||
models.Index(fields=['operator_user_id'], )
|
||||
]
|
||||
verbose_name = "操作日志表"
|
||||
|
||||
|
||||
class CooperationMindShare(AbstractModel):
|
||||
"""
|
||||
分享记录表
|
||||
"""
|
||||
coop_mind_id = models.BigIntegerField(verbose_name='脑图ID', null=False, blank=False)
|
||||
|
||||
class Meta:
|
||||
db_table = 'cooperation_mind_share'
|
||||
|
||||
Reference in New Issue
Block a user