| 41 | |
| 42 | |
| 43 | class UploadChunk(models.Model): |
| 44 | id = fields.IntField(pk=True) |
| 45 | upload_id = fields.CharField(max_length=36, index=True) |
| 46 | chunk_index = fields.IntField() |
| 47 | chunk_hash = fields.CharField(max_length=64) |
| 48 | total_chunks = fields.IntField() |
| 49 | file_size = fields.BigIntField() |
| 50 | chunk_size = fields.IntField() |
| 51 | file_name = fields.CharField(max_length=255) |
| 52 | save_path = fields.CharField(max_length=512, null=True) |
| 53 | created_at = fields.DatetimeField(auto_now_add=True) |
| 54 | completed = fields.BooleanField(default=False) |
| 55 | |
| 56 | |
| 57 | class KeyValue(Model): |
nothing calls this directly
no outgoing calls
no test coverage detected