We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 387533c commit 138a2f7Copy full SHA for 138a2f7
packages/backend/prisma/client.ts
@@ -25,7 +25,7 @@ const xprisma = prisma.$extends({
25
26
// prepend environment Id to the t_id. connectionId = environmentId_t_id
27
if (args.where?.id && args.create?.environmentId) {
28
- const newConnectionId = `${args.create.environmentId}_${args.where.id}`;
+ const newConnectionId = `${args.create.environmentId}_${args.create.tp_id}_${args.where.id}`;
29
args.where.id = newConnectionId;
30
args.create.id = newConnectionId;
31
}
0 commit comments