fix: update PrismaService constructor to use correct datasource format and include prisma.config.ts in Dockerfile

This commit is contained in:
Nils-Johan Gynther
2026-04-15 21:01:49 +02:00
parent c9ef587eb1
commit 5d80dfef6f
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export class PrismaService
private readonly logger = new Logger(PrismaService.name);
constructor() {
super({ datasourceUrl: process.env.DATABASE_URL });
super({ datasources: { db: { url: process.env.DATABASE_URL } } });
}
async onModuleInit() {