Giovani Granzotto
Explore posts from serversPPrisma
•Created by Giovani Granzotto on 12/19/2024 in #help-and-questions
Nonsense error on correctly structured query
Hi, I got this error in production complaining about values on a list for an "in" filter on a query:
The logged query shows that the query passed has a list of strings and not a list of nulls as suggested by the error message. Has anyone ever stumbled across this before? I'm unable to reproduce, as the same code runs normally.
Bot conversation:
https://discord.com/channels/937751382725886062/1319378542412300348
15 replies
PPrisma
•Created by Giovani Granzotto on 12/5/2024 in #help-and-questions
Migration containing DML statements hangs mysteriously
Hi, I'm changing the shape of my schema but wanted to preserve existing user data, which is why I wrote a bunch of queries to shape the data into the new format. I created this by using
npx prisma migrate --create-only
then editing the file to place my data processing steps in between the DDL changes.
When I try applying it, it apparently executes the changes on the database, but the migrate command keeps hanging at this step, so I can't trust it to run correctly on my production build.
Could someone from the team let me know if prisma supports running these non DDL statements on migrations or not? If not, I'll have to add a temporary table and run the data processing migration queries by hand when deploying to production, something I'd like to avoid if possible.11 replies
CCConvex Community
•Created by Giovani Granzotto on 7/30/2024 in #support-community
Prod build error broken: 403 Forbidden: ReadOnlyAdminKey: You do not have permission
![No description](https://cdn.answeroverflow.com/1267971536867033178/image.png)
13 replies
CCConvex Community
•Created by Giovani Granzotto on 7/26/2024 in #support-community
Confusing errors on db.patch calls inside mutation
![No description](https://cdn.answeroverflow.com/1266430322455740497/image.png)
4 replies