createdby
This commit is contained in:
parent
2d3f7a51b4
commit
685988c219
|
@ -61,6 +61,8 @@ class Shout(Base):
|
||||||
published_at = Column(Integer, nullable=True)
|
published_at = Column(Integer, nullable=True)
|
||||||
deleted_at = Column(Integer, nullable=True)
|
deleted_at = Column(Integer, nullable=True)
|
||||||
|
|
||||||
|
created_by = Column(ForeignKey("author.id"), nullable=False)
|
||||||
|
updated_by = Column(ForeignKey("author.id"), nullable=True)
|
||||||
deleted_by = Column(ForeignKey("author.id"), nullable=True)
|
deleted_by = Column(ForeignKey("author.id"), nullable=True)
|
||||||
|
|
||||||
body = Column(String, nullable=False, comment="Body")
|
body = Column(String, nullable=False, comment="Body")
|
||||||
|
|
|
@ -116,9 +116,11 @@ type Shout {
|
||||||
description: String
|
description: String
|
||||||
created_at: Int!
|
created_at: Int!
|
||||||
topics: [Topic]
|
topics: [Topic]
|
||||||
|
created_by: Author!
|
||||||
|
updated_by: Author
|
||||||
|
deleted_by: Author
|
||||||
authors: [Author]
|
authors: [Author]
|
||||||
communities: [Community]
|
communities: [Community]
|
||||||
# mainTopic: String
|
|
||||||
title: String
|
title: String
|
||||||
subtitle: String
|
subtitle: String
|
||||||
lang: String
|
lang: String
|
||||||
|
@ -128,9 +130,7 @@ type Shout {
|
||||||
version_of: String
|
version_of: String
|
||||||
visibility: ShoutVisibility
|
visibility: ShoutVisibility
|
||||||
updated_at: Int
|
updated_at: Int
|
||||||
updated_by: Author
|
|
||||||
deleted_at: Int
|
deleted_at: Int
|
||||||
deleted_by: Author
|
|
||||||
published_at: Int
|
published_at: Int
|
||||||
media: String
|
media: String
|
||||||
stat: Stat
|
stat: Stat
|
||||||
|
|
Loading…
Reference in New Issue
Block a user