diff --git a/migration/tables/comments.py b/migration/tables/comments.py index 9b613388..ddf50f79 100644 --- a/migration/tables/comments.py +++ b/migration/tables/comments.py @@ -37,7 +37,7 @@ def migrate(entry): deletedAt: DateTime deletedBy: Int rating: Int - ratigns: [CommentRating] + ratings: [CommentRating] views: Int old_id: String old_thread: String diff --git a/migration/tables/content_items.py b/migration/tables/content_items.py index 78db4a3b..ba5082e5 100644 --- a/migration/tables/content_items.py +++ b/migration/tables/content_items.py @@ -53,7 +53,7 @@ def migrate(entry, users_by_oid, topics_by_oid): deletedAt: DateTime deletedBy: Int rating: Int - ratigns: [Rating] + ratings: [Rating] published: Bool! publishedAt: DateTime # if there is no published field - it is not published replyTo: String # another shout diff --git a/schema.graphql b/schema.graphql index d74c43ac..cc81c538 100644 --- a/schema.graphql +++ b/schema.graphql @@ -216,7 +216,7 @@ type Comment { deletedAt: DateTime deletedBy: Int rating: Int - ratigns: [CommentRating] + ratings: [CommentRating] views: Int old_id: String old_thread: String @@ -238,7 +238,7 @@ type Shout { createdAt: DateTime! authors: [User!]! comments: [Comment] - ratigns: [Rating] + ratings: [Rating] visibleFor: [User] community: Int cover: String