mirror of https://github.com/jumpserver/jumpserver
perf: 字段含义和Session model保持一致
parent
a991a6c56c
commit
af018ea262
|
@ -58,7 +58,7 @@ class FTPLog(OrgModelMixin):
|
||||||
filename = models.CharField(max_length=1024, verbose_name=_("Filename"))
|
filename = models.CharField(max_length=1024, verbose_name=_("Filename"))
|
||||||
is_success = models.BooleanField(default=True, verbose_name=_("Success"))
|
is_success = models.BooleanField(default=True, verbose_name=_("Success"))
|
||||||
date_start = models.DateTimeField(auto_now_add=True, verbose_name=_("Date start"))
|
date_start = models.DateTimeField(auto_now_add=True, verbose_name=_("Date start"))
|
||||||
has_file = models.BooleanField(default=False, verbose_name=_("File Record"))
|
has_file = models.BooleanField(default=False, verbose_name=_("File"))
|
||||||
session = models.CharField(max_length=36, verbose_name=_("Session"), default=uuid.uuid4)
|
session = models.CharField(max_length=36, verbose_name=_("Session"), default=uuid.uuid4)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in New Issue