0.4.5-api-update
All checks were successful
Deploy on push / deploy (push) Successful in 1m49s

This commit is contained in:
2024-10-21 10:52:23 +03:00
parent 045d2ddadf
commit 160f02e67f
13 changed files with 192 additions and 37 deletions

View File

@@ -26,6 +26,14 @@ class AuthorFollower(Base):
auto = Column(Boolean, nullable=False, default=False)
class AuthorBookmark(Base):
__tablename__ = "author_bookmark"
id = None # type: ignore
author = Column(ForeignKey("author.id"), primary_key=True)
shout = Column(ForeignKey("shout.id"), primary_key=True)
class Author(Base):
__tablename__ = "author"