topic schema fix

This commit is contained in:
Untone 2021-07-27 09:50:52 +03:00
parent d5ed469ed5
commit 2f85df3c01

View File

@ -165,11 +165,11 @@ type Shout {
} }
type Topic { type Topic {
slug: String slug: String! # ID
createdBy: Int! # User
original: String original: String
parents: [String] # NOTE: topic can have parent topics parents: [String] # NOTE: topic can have parent topics
children: [String] # and children children: [String] # and children
createdBy: User!
createdAt: DateTime! createdAt: DateTime!
} }