From 4d17d79290bbe2b72335e2d8e13aef0a6be81b11 Mon Sep 17 00:00:00 2001 From: Matthieu Tran Date: Tue, 9 Jul 2019 07:39:43 -0700 Subject: [PATCH] fix typo --- docs/0.x/04-Reference/03-Database/03-Migrations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/0.x/04-Reference/03-Database/03-Migrations.md b/docs/0.x/04-Reference/03-Database/03-Migrations.md index 2d5632845..9dd249c7e 100644 --- a/docs/0.x/04-Reference/03-Database/03-Migrations.md +++ b/docs/0.x/04-Reference/03-Database/03-Migrations.md @@ -52,7 +52,7 @@ To add a new `Story` type (including a [relation](!alias-eiroozae8u#relations) t type User @model { id: ID! @isUnique name: String! - stories: [Story!]! @relation(name: "UserStories") + stories: [Story @relation(name: "UserStories") } type Story @model { @@ -667,7 +667,7 @@ type Story @model { } ``` -To change the cardinality of the `user` field from `to-one` to `to-many`, simply change the type from `User!` to `[User!]!]`. +To change the cardinality of the `user` field from `to-one` to `to-many`, simply change the type from `User!` to `[User!]!`. ```graphql type User @model {