🐛 修复后端回收站部署内容

This commit is contained in:
orion committed 2026-09-11 16:59:07 +08:00
1 parent 8badb80600
commit dddca40df8
22 files changed
+986 -124

No files matched your search

-9
View File
@@ -108,15 +108,6 @@ class PresignUploadSession(models.Model):
return self.expires_at < await get_now()
class StorageReservation(models.Model):
"""尚未写入 FileCodes 的上传容量预留。"""
id = fields.IntField(pk=True)
token = fields.CharField(max_length=64, unique=True, index=True)
size = fields.BigIntField()
expires_at = fields.DatetimeField(index=True)
file_codes_pydantic = pydantic_model_creator(FileCodes, name="FileCodes")
upload_chunk_pydantic = pydantic_model_creator(UploadChunk, name="UploadChunk")
key_value_pydantic = pydantic_model_creator(KeyValue, name="KeyValue")