menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team
Posts
Chat
Members
Info
down-caret
·148d·Locked·Pinned# General

Where and how to best seek help with questions & problems?

Hey everyone 👋 in this thread, we want to provide some guidance on how and where to best ask questions about Prisma and its related tools (such as graphql-yoga, nexus, nexus-prisma, ...). For more context, join the discussion in this GitHub issue. The TLDR of the discussion is…

thumbsup
5
message-simple
0

create mutation with other type in the argument

hi everyone i have some problem with my mutation 'createStudentBadge' , i wanna know how can i add another type in field with the argument . For example i have that mutation in my file TypeDef : createStudentBadge( badge: badge! …

thumbsup
0
message-simple
6

With the migration tool, are there plans to support data migrations?

From my little bit of reading, it looks like it only supports schema migrations right now, is that right? I'm hoping there will eventually be a way to attach some code to a migration to add, cleanup, and manipulate the data (imagine needing to split or merge fields). It would…

thumbsup
0
message-simple
0

I have setup foreign key in my postgres sql

I used prisma init command to get my existing database. and after that whenever I want to deploy by prisma deploy. but I am getting this issue. Applying changes 1.4s ▸ The Migration failed and has not been performed. This is very likely not a transient issue. …

thumbsup
0
message-simple
0

Help with arrays as variables

So I have the following working GQL: However when I try and make it accept passed variables it craps out because there is no ID! defined because it's an array of IDs.... I have tried skipping the $id: ID! and creating a new variable $arrayOfIds: Json but that fails as well,…

thumbsup
0
message-simple
0

Confused about Nexus and Santa

I might be looking in the wrong place, but I don't understand the status of the Nexus project. It seems like NexusJS is deserted, and Santa is replacing it?

thumbsup
0
message-simple
1

Question: How to migrate a prisma database with pg_dump

I have a production postgresql database that I initialized with prisma and have data stored in. I'd like to create a local dev environment (local postgres and local prisma). So, I'd like to clone the production database and run a local prisma instance pointed to it. So, I ran a…

thumbsup
0
message-simple
5

Maybe anybody know how to set foreign key or index name?

hi everyone! maybe anybody know how to set foreign key or index name or primary name for relation on postgres database

thumbsup
0
message-simple
0

Prisma Admin (Beta): A Modern UI to Manage Your Data

Hey everyone 👋we're very excited to launch Prisma Admin in Beta today 🎉 Prisma Admin is modern database UI that lets you view and edit your data with ease. You can use it by appending /_admin to the endpoint of your Prisma service in the latest Prisma v1.29-beta or try out a…

thumbsup
22
message-simple
7

go Client generation

I have recently introspected a postgres DB and then generated a go client, however the go client contains compilation errors; prisma-client/prisma.go:6006:60: undefined: tfwm_highways_he_dapiEdgeExecArray prisma-client/prisma.go:6021:10: undefined:…

thumbsup
0
message-simple
2

Help with Batch Mutations

I need to create multiple records at once. I can do these one at a time but I would prefer to batch them and send it all in one query. The only spot I can find this with Prisma/GQL is the old docs, where it appears to be no longer the case. …

thumbsup
0
message-simple
3