Add file downloading

This commit is contained in:
2022-01-09 20:55:24 +03:00
parent cefc84af81
commit bb300daedd
5 changed files with 67 additions and 2 deletions

View File

@@ -16,4 +16,4 @@ class CachedFile(ormar.Model):
id: int = ormar.Integer(primary_key=True) # type: ignore
object_id: int = ormar.Integer() # type: ignore
object_type: str = ormar.String(max_length=8) # type: ignore
data = ormar.JSON()
data: dict = ormar.JSON() # type: ignore