Niels
Explore posts from serversPPrisma
•Created by Niels on 4/29/2025 in #help-and-questions
Module build failed: UnhandledSchemeError: Reading from "cloudflare:sockets" is not handled
For some reason, when I use the
@prisma/adapter-pg
and pass my Postgres connectionString, I get the following error? What could cause this? I'm just running locally using next dev?
I've just done it the way described in https://www.prisma.io/docs/orm/overview/databases/postgresql#using-the-node-postgres-driver3 replies
BABetter Auth
•Created by Niels on 4/1/2025 in #help
Manually create a session
Hi, for testing purposes I want to create a session in my own controller, and set the right cookies. Although, it seems like the sesison token has to be in a certain structure. Has anyone got a better idea on how I can implement this?
The cookie names do match, I am using NextJS so I would need a backend approach to create the sessions.
7 replies
PPrisma
•Created by Niels on 10/31/2024 in #help-and-questions
Way to run migrations & seeding using the PrismaClient
Hi, is it possible to run the migrations and seedings for Prisma at runtime using the PrismaClient instance?
Would prevent me from having to bundle all source files into my docker containers as well, since its all compiled down.
7 replies
PPrisma
•Created by Niels on 8/22/2024 in #help-and-questions
Prisma keeps generating same migrations

4 replies