Niels
Explore posts from serversBABetter 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.
3 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