| 55 | |
| 56 | |
| 57 | class KeyValue(Model): |
| 58 | id: Optional[int] = fields.IntField(pk=True) |
| 59 | key: Optional[str] = fields.CharField( |
| 60 | max_length=255, description="键", index=True, unique=True |
| 61 | ) |
| 62 | value: Optional[str] = fields.JSONField(description="值", null=True) |
| 63 | created_at: Optional[datetime] = fields.DatetimeField( |
| 64 | auto_now_add=True, description="创建时间" |
| 65 | ) |
| 66 | |
| 67 | |
| 68 | class PresignUploadSession(models.Model): |
nothing calls this directly
no outgoing calls
no test coverage detected