Anna Sudol
04/22/2020, 8:12 PMLars-Jørgen Kristiansen
04/22/2020, 8:21 PMjt
04/22/2020, 11:28 PMLouis Gelinas
04/23/2020, 2:08 AMLeo Hui
04/23/2020, 2:24 AMgo4cas
04/23/2020, 7:59 AM@map
directive, but it seems that one will have to do it manually for every field in every table. Also, when schema changes are applied on the database, prisma introspect
will override the hand coded changes in prisma.schema
. Any advice?ksch
04/23/2020, 8:46 AMwhere: {
myCustomId: String(id)
}
Basically I want to query with the default ID but also with another oneTony Shannon
04/23/2020, 7:04 PMConnor Barrett
04/23/2020, 10:02 PMConnor Barrett
04/23/2020, 10:03 PMConnor Barrett
04/23/2020, 10:03 PMConnor Barrett
04/23/2020, 10:23 PMchestrbrian
04/24/2020, 12:36 AMAddress
under Jenkins for the prisma cloud plugin. We're using Prisma SaaS. Thank you.Tristan
04/24/2020, 10:07 AMflybayer
04/24/2020, 12:09 PMJoseph
04/24/2020, 5:05 PMtype User {
...
matches: [Match!]!
}
type Match {
...
host: User!
client: User!
disconnector: User
}
Can't figure out how to do relations in this many to many where the User could be 1+ of several fields
I've tried using 1 relation for all of them, but got the expected errorCharles Gaudreau Jackson
04/24/2020, 11:35 PMEhsan Sarshar
04/25/2020, 7:18 AMHanyati
04/25/2020, 1:15 PMHanyati
04/25/2020, 1:16 PMNicolò
04/25/2020, 6:30 PMprisma introspect
to generate the model from the db schema and its mostly the same of the one we have created wen we initially have tried to migrate to 1.34.
But Prisma is still lookin for the old tables that are no more present.
Our main change was to move all the n:m relations that actually were 1:n to inline. (we were also facing bad performaces)
Unfortunatly we have production data in it.
What can we do? (Other than to move to Prisma2 that cant be done right now for other issues?)
We have a postgres DB.Dulara Malindu Colombage
04/26/2020, 3:53 PMDulara Malindu Colombage
04/26/2020, 3:54 PMSijad
04/26/2020, 5:28 PMTaylor
04/26/2020, 8:11 PMTaylor
04/26/2020, 8:11 PMTaylor
04/26/2020, 8:12 PMjonthewayne
04/26/2020, 11:51 PMnpx prisma migrate save --name "add-profile" --experimental
and got this: migrate save is not a prisma command.
Is prisma migrate no longer working?Joseph
04/27/2020, 4:52 AMprisma.query.matches({ where: { endedAt: null } }, info)
This doesn't work for meurbanendeavour
04/27/2020, 12:00 PMnpx prisma init
to setup the folders, yet I am prompted with a helper menu.