featured-id-patch
All checks were successful
Deploy to core / deploy (push) Successful in 1m40s

This commit is contained in:
2024-02-02 15:03:44 +03:00
parent bd5f910f8c
commit c00361b2ec
19 changed files with 640 additions and 798 deletions

View File

@@ -51,7 +51,7 @@ class ShoutCommunity(Base):
class ShoutVisibility(Enumeration):
AUTHORS = 'AUTHORS'
COMMUNITY = 'COMMUNITY'
PUBLIC = 'PUBLIC'
FEATURED = 'FEATURED'
class Shout(Base):
@@ -60,6 +60,7 @@ class Shout(Base):
created_at = Column(Integer, nullable=False, default=lambda: int(time.time()))
updated_at = Column(Integer, nullable=True)
published_at = Column(Integer, nullable=True)
featured_at = Column(Integer, nullable=True)
deleted_at = Column(Integer, nullable=True)
created_by = Column(ForeignKey('author.id'), nullable=False)