added lead field to shout, new table event (#71)

* added lead field to shout, new table event

* repurposed unused notifications table
This commit is contained in:
Igor Lobanov
2023-08-06 22:01:40 +02:00
committed by GitHub
parent 1fc6178b97
commit b4e14cce93
8 changed files with 13 additions and 40 deletions

View File

@@ -53,6 +53,7 @@ class Shout(Base):
slug = Column(String, unique=True)
cover = Column(String, nullable=True, comment="Cover image url")
lead = Column(String, nullable=True)
body = Column(String, nullable=False, comment="Body")
title = Column(String, nullable=True)
subtitle = Column(String, nullable=True)