mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Add genres api
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user