comminity-author-link-name-fix
Some checks failed
deploy / deploy (push) Failing after 1m22s

This commit is contained in:
2023-12-16 20:03:00 +03:00
parent d0ce4dd3d3
commit cd0ba88462
2 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ class CommunityAuthor(Base):
__tablename__ = "community_author"
id = None # type: ignore
follower = Column(ForeignKey("author.id"), primary_key=True)
author = Column(ForeignKey("author.id"), primary_key=True)
community = Column(ForeignKey("community.id"), primary_key=True)
joined_at = Column(Integer, nullable=False, default=lambda: int(time.time()))
role = Column(String, nullable=False)