Philipp
05/27/2020, 4:51 PMprisma-server.yml
or Dockerfile
? It seems the current maximum is 2GB, but the server has 4GB available. Didn't find any solution so far, thanks šsourabh
05/28/2020, 3:16 AMnpx prisma migrate save --name init --experimental command
I am getting following error
Error: Can't parse migration engine response:
undefined
can someone help ?sourabh
05/28/2020, 3:17 AMbob
05/28/2020, 4:11 AMreturn context.prisma.users({
where: { trips: {in: parent.id} },
});
type User {
id: ID!
uid: String!
name: String!
email: String!
gender: String
trips: [Trip!]
}
bob
05/28/2020, 4:29 AMbob
05/28/2020, 4:41 AMbob
05/28/2020, 5:28 AMERROR: There is a relation ambiguity during the migration. Please first name the old relation
on your schema. The ambiguity is on a relation between Trip and User. Please name relations or change the schema in steps.
bob
05/28/2020, 5:28 AMtype User {
id: ID! @id
uid: String! @unique
createdAt: DateTime @createdAt
name: String
email: String @unique
gender: String
trips: [Trip] @relation(name: "TravelerRelation")
createdTrips: [Trip] @relation(name: "TripOwner" onDelete: CASCADE)
}
type Trip {
id: ID! @id
createdAt: DateTime @createdAt
invitationLink: String @unique
name: String!
location: String
arivalDay: DateTime
departureDay: DateTime
user: User! @relation(name: "TripOwner")
travelers: [User!] @relation(name: "TravelerRelation")
activities: [Activity]
packingLists: [PackingList!] @relation(onDelete: CASCADE)
}
bob
05/28/2020, 5:28 AMbob
05/28/2020, 5:33 AMtrip
in their trips
list with a certain IDbob
05/28/2020, 6:37 AMAshiqur Rahman
05/28/2020, 10:09 AMprisma.post.findMany();
Abhischek
05/28/2020, 11:57 AMprisma.yml
via the prisma client? I'm writing a test using jest and want to make sure the test never runs against a real mongo environmentbob
05/28/2020, 12:18 PMMatheus Assis
05/28/2020, 1:37 PM@nexus/schema
, to "intercept" every time an update is done to the database? I'm looking at how to implement algolia, and looks like I have to call an sdk to push to them.
Is there a way of "listening" when changes are done to the database by prisma+nexus? Or adding a callback for every prisma or nexus call? Something to "hook" that?Ashiqur Rahman
05/28/2020, 1:49 PMschema.prisma
file?
type Post {
id: ID! @unique
comments: [Comment!]! @relation(name: "CommentToPost", onDelete: CASCADE)
updatedAt: DateTime!
createdAt: DateTime!
}
henke
05/28/2020, 8:05 PMhenke
05/28/2020, 8:05 PMhenke
05/28/2020, 8:05 PMhenke
05/28/2020, 8:05 PMhenke
05/28/2020, 8:05 PMhenke
05/28/2020, 8:06 PMJames Fox
05/29/2020, 1:03 AMprisma migrate up --experimental
command executed fineSlackbot
05/29/2020, 9:20 AMKaspar Naaber
05/29/2020, 10:31 AMWarren Day
05/29/2020, 10:48 AMKaspar Naaber
05/29/2020, 10:58 AMWarren Day
05/29/2020, 1:33 PMSamrith Shankar
05/30/2020, 1:31 AMVignesh
05/30/2020, 5:24 AM