peteflange
01/17/2018, 2:53 PMprisma
docs, these models in particlular. Do you not need to specify @relation
any longer? I believe previously in graphcool
you did have to.
type Post {
id: ID! @unique
title: String!
isPublished: Boolean!
author: User!
}
type User {
id: ID! @unique
age: Int
email: String! @unique
name: String!
posts: [Post!]!
}
johhansantana
01/17/2018, 2:55 PMjohannpinson
01/17/2018, 2:55 PMjohannpinson
01/17/2018, 2:56 PMprisma deploy
it can ask me sometimes to add one when it needspeteflange
01/17/2018, 2:57 PM