Nelson Pecora
04/24/2019, 3:50 PMdatamodel.prisma to fit the new spec, and wiped all the tables in my database).
Here's my error:
Content
✖️ The relation fieldIn my datamodel, this is how I specified `Content`:must specify abundledirective:@relation@relation(name: "MyRelation")
type Content @db(name: "content") {
id: ID! @id
contentType: ContentType! # ENUM
bundle: Bundle @relation(link: INLINE)
image: Image @relation(link: INLINE)
}
Am I missing something obvious? bundle and image are 1:1 relations.Jared
04/24/2019, 3:52 PMlinkNelson Pecora
04/24/2019, 3:53 PMsuper: Content! (with no @relation directive)Nelson Pecora
04/24/2019, 3:53 PMNelson Pecora
04/24/2019, 3:54 PMmembers: [Content] @relation(link: TABLE, name: "BundleMember")
super: Content!Nelson Pecora
04/24/2019, 3:55 PMNelson Pecora
04/24/2019, 3:56 PM