From 5d4cfe0819578ff414cdf717ccd339d13434ee40 Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Mon, 21 Aug 2023 13:30:18 +0200 Subject: [PATCH] added description field to shout (#75) --- orm/shout.py | 1 + schema.graphql | 1 + 2 files changed, 2 insertions(+) diff --git a/orm/shout.py b/orm/shout.py index ea8f1bed..22381d4c 100644 --- a/orm/shout.py +++ b/orm/shout.py @@ -54,6 +54,7 @@ class Shout(Base): slug = Column(String, unique=True) cover = Column(String, nullable=True, comment="Cover image url") lead = Column(String, nullable=True) + description = Column(String, nullable=True) body = Column(String, nullable=False, comment="Body") title = Column(String, nullable=True) subtitle = Column(String, nullable=True) diff --git a/schema.graphql b/schema.graphql index 8eaa11e6..4d6334b2 100644 --- a/schema.graphql +++ b/schema.graphql @@ -404,6 +404,7 @@ type Shout { slug: String! body: String! lead: String + description: String createdAt: DateTime! topics: [Topic] mainTopic: String