Nelson Pecora
04/29/2019, 9:05 PMprisma generate
(details in thread)Nelson Pecora
04/29/2019, 9:06 PMNelson Pecora
04/29/2019, 9:07 PMtype Bundle @db(name: "bundle") {
id: ID! @id
createdAt: DateTime! @createdAt
updatedAt: DateTime! @updatedAt
standards: [Standard!]! @relation(link: TABLE, name: "BundleStandard")
}
type BundleStandard @db(name: "bundle_standard") @relationTable {
bundle: Bundle!
standard: Standard!
}
type Standard @db(name: "standard") {
externalID: ID! @id(strategy: NONE)
createdAt: DateTime! @createdAt
updatedAt: DateTime! @updatedAt
title: String
description: String
grades: [Int] @scalarList(strategy: RELATION)
}
Nelson Pecora
04/29/2019, 9:08 PMNelson Pecora
04/29/2019, 9:20 PMNelson Pecora
04/29/2019, 9:44 PM@relationTable
types in my datamodel.prismaNelson Pecora
04/29/2019, 9:44 PMNelson Pecora
04/29/2019, 9:49 PMNelson Pecora
04/29/2019, 9:55 PM