small fixes

This commit is contained in:
tonyrewin 2022-08-18 10:10:55 +03:00
parent 04f0352a84
commit 8af36f094d
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ async def all_handle(storage, args):
users_handle(storage)
topics_handle(storage)
await shouts_handle(storage, args)
comments_handle(storage)
await comments_handle(storage)
# export_email_subscriptions()
print('[migration] done!')

View File

@ -47,7 +47,7 @@ class ReactedByDay(Base):
replyTo = Column(ForeignKey('reaction.id'), nullable=True)
kind: int = Column(Enum(ReactionKind), nullable=False, comment="Reaction kind")
day = Column(DateTime, primary_key=True, default=datetime.now)
comment = Column(Boolean, nullable=True)
comment = Column(Boolean, default=False)
class ReactedStorage: