Craig A. Cook
08/26/2021, 6:27 PMcedric
08/26/2021, 6:54 PMcedric
08/26/2021, 6:55 PMcedric
08/26/2021, 6:56 PMcedric
08/26/2021, 6:57 PMcedric
08/26/2021, 6:58 PMCraig A. Cook
08/26/2021, 8:15 PMtaggable_type . I have the following code: model TagsOnPanels {
id Int @id
tagId Int
tag Tag @relation(fields: [tagId], references: [id])
panelId Int
panel Panel @relation(fields: [panelId], references: [id])
} With what could I replace the line starting panel Panel with?Craig A. Cook
08/26/2021, 8:16 PMCraig A. Cook
08/26/2021, 8:17 PMInt field in the model for the FK, handle all the relations by hand with SQL? How would that affect the Prisma calls?cedric
08/26/2021, 8:21 PMcedric
08/26/2021, 8:21 PMcedric
08/26/2021, 8:22 PMcedric
08/26/2021, 8:23 PMTyler Clendenin
08/26/2021, 10:46 PMTyler Clendenin
08/26/2021, 10:48 PMTyler Clendenin
08/26/2021, 10:51 PMCraig A. Cook
08/26/2021, 11:29 PM