Jan Piotrowski

Results 2422 comments of Jan Piotrowski

Ugh, how the deployment fails on Vercel is scary: ``` npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm ERR!...

Reproduction with current version of Prisma (2.3.0) and Yarn 2 (2.1): https://github.com/prisma/prisma/issues/3168#issue-668010124

Related: https://github.com/prisma/prisma-client-js/issues/819

Have you tried to use `prisma db pull` on that dabase? What schema does that create? Most importantly, does it pick up the `crdb_region` column? Alterantively or additionally: `@map` also...

> -- likely because it was hidden. That would mean that manually creating the `crdb_internal_region` enum and adding the `crdb_region` would be a manual workaround for this for now. >...

@ppoddar-affordably Has been some while, but I just noticed we forget to document the final workaround for you: Can you shared what you manually could cobble together that then worked?...

That is an error message from CockroachDB. You will have to ask them how to modify "multi-region enum" and then modify the generated default SQL to use that construct.

In Prisma Client JS we "solved" this problem by prefixing these methods with `$`: https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#client-methods Ain't pretty, but it works.

From your `package.json` you posted originally: ``` "yarn": "^1.22.19", ``` Did I misunderstand that?