✨ 新增回收站审计与八位取件码
This commit is contained in:
1 parent
c25c495657
commit
4ee06e2d29
15 files changed
+534
-132
No files matched your search
@@ -28,6 +28,12 @@ class FileCodes(models.Model):
|
||||
file_hash = fields.CharField(max_length=64, null=True)
|
||||
is_chunked = fields.BooleanField(default=False)
|
||||
upload_id = fields.CharField(max_length=36, null=True)
|
||||
is_trashed = fields.BooleanField(default=False, index=True)
|
||||
trashed_at = fields.DatetimeField(null=True, index=True)
|
||||
trash_expires_at = fields.DatetimeField(null=True, index=True)
|
||||
trash_reason = fields.CharField(max_length=32, null=True)
|
||||
trash_original_path = fields.CharField(max_length=1024, null=True)
|
||||
trash_purged_at = fields.DatetimeField(null=True, index=True)
|
||||
|
||||
async def is_expired(self):
|
||||
if self.expired_at is None:
|
||||
|
||||
Reference in new issue
Block a user