multiplayer

This commit is contained in:
Dmitry 2026-01-08 18:11:11 +03:00
parent 2dad8fd74d
commit f01e6bcc93

View file

@ -4,7 +4,13 @@ import { PrismaClient } from '@prisma/client';
@Injectable() @Injectable()
export class PrismaService extends PrismaClient implements OnModuleInit, OnModuleDestroy { export class PrismaService extends PrismaClient implements OnModuleInit, OnModuleDestroy {
constructor() { constructor() {
super(); super({
datasources: {
db: {
url: process.env.DATABASE_URL,
},
},
});
} }
async onModuleInit() { async onModuleInit() {