Alan
03/16/2020, 10:49 PMKyle Thomas
03/17/2020, 12:22 AMKyle Thomas
03/17/2020, 12:23 AMKyle Thomas
03/17/2020, 12:24 AMthing: { create: [] }
but migrating to prisma2
I'm not sure what I need to do here.Gwinyai Nyatsoka
03/17/2020, 3:21 PMJonathan
03/17/2020, 3:48 PMMarcelo Lewin
03/17/2020, 6:17 PMAlan
03/17/2020, 8:47 PMAlan
03/17/2020, 8:48 PMIsaac Weber
03/17/2020, 9:19 PMIsaac Weber
03/17/2020, 9:19 PMIsaac Weber
03/17/2020, 9:20 PMexecuteRaw
?Isaac Weber
03/17/2020, 9:35 PMEthan Pursley
03/17/2020, 9:47 PMAlexander Selling
03/18/2020, 9:43 AMAlexander Selling
03/18/2020, 9:44 AMAlexander Selling
03/18/2020, 9:45 AMAlexander Selling
03/18/2020, 9:45 AMwindkomo
03/18/2020, 1:05 PMArber
03/18/2020, 3:38 PMtype User {
id: ID! @id
name: String!
email: String! @unique
password: String!
posts: [Post!]!
userInfo: [Userinfo!]!
dailyReports: [dailyReport!]!
inEventCards: [Event!]! @relation(name: "EventCardAddedBy")
myEventCards: [Event!]! @relation(name: "EventCardsToUser")
}
type Comment {
id: ID! @id
createdAt: DateTime! @createdAt
name: String
text: String!
addedBy: User!
post: ID!
ERROR: There is a relation ambiguity during the migration. The ambiguity is on a relation between Comment and User. Please name relations or change the schema in steps.Alan
03/18/2020, 4:29 PMAlan
03/19/2020, 7:50 PMAlan
03/19/2020, 7:50 PMEthan Pursley
03/19/2020, 7:53 PMEthan Pursley
03/19/2020, 7:53 PMOmar Nasr
03/19/2020, 9:14 PMAlan
03/19/2020, 10:00 PMAlan
03/19/2020, 10:01 PMAlan
03/19/2020, 10:02 PMAlan
03/19/2020, 10:03 PM