resolvers-fix
All checks were successful
deploy / deploy (push) Successful in 1m30s

This commit is contained in:
2023-12-23 22:00:22 +03:00
parent bf2c5b67e3
commit 8856bfc978
4 changed files with 18 additions and 13 deletions

View File

@@ -72,9 +72,9 @@ class Shout(Base):
cover_caption = Column(String, nullable=True, comment="Cover image alt caption")
lead = Column(String, nullable=True)
description = Column(String, nullable=True)
title = Column(String, nullable=True)
title = Column(String, nullable=False)
subtitle = Column(String, nullable=True)
layout = Column(String, nullable=True)
layout = Column(String, nullable=False, default="article")
media = Column(JSON, nullable=True)
authors = relationship(lambda: Author, secondary="shout_author")