Merge branch 'main' of github.com:Discours/discours-backend into main

This commit is contained in:
2022-07-01 09:40:18 +03:00
7 changed files with 73 additions and 95 deletions

View File

@@ -18,6 +18,8 @@ class ShoutCommentsSubscription(Base):
subscriber = Column(ForeignKey('user.slug'), primary_key = True)
shout = Column(ForeignKey('shout.slug'), primary_key = True)
createdAt: str = Column(DateTime, nullable=False, default = datetime.now, comment="Created at")
auto = Column(Boolean, nullable=False, default = False)
deletedAt: str = Column(DateTime, nullable=True)
class ShoutAuthor(Base):
__tablename__ = "shout_author"