Add genres api

This commit is contained in:
2022-04-08 11:02:50 +03:00
parent 8138444b9f
commit 531211ae03
5 changed files with 99 additions and 2 deletions

View File

@@ -16,7 +16,6 @@ class Source(ormar.Model):
tablename = "sources"
id: int = ormar.SmallInteger(primary_key=True, nullable=False) # type: ignore
name: str = ormar.String(max_length=32, nullable=False, unique=True) # type: ignore