user model upgrade, rating, notificaiton

This commit is contained in:
2021-08-19 13:02:28 +03:00
parent 5bb4553360
commit 0cb0b85bce
6 changed files with 82 additions and 17 deletions

View File

@@ -21,5 +21,6 @@ class Shout(Base):
versionOf: str = Column(ForeignKey("shout.slug"), nullable=True)
tags: str = Column(String, nullable=True)
topics: str = Column(String, nullable=True)
views: int = Column(Integer, default=0)
# TODO: add all the fields