topicUpdated
This commit is contained in:
@@ -15,7 +15,7 @@ class TopicSubscription(Base):
|
||||
__tablename__ = "topic_subscription"
|
||||
|
||||
id = None
|
||||
topic = Column(ForeignKey('topic.slug'), primary_key = True)
|
||||
topic = Column(ForeignKey('topic.id'), primary_key = True)
|
||||
user = Column(ForeignKey('user.id'), primary_key = True)
|
||||
createdAt: str = Column(DateTime, nullable=False, default = datetime.now, comment="Created at")
|
||||
|
||||
|
Reference in New Issue
Block a user