formated project with prettier

This commit is contained in:
PxlLoewe
2025-02-25 00:45:36 +01:00
parent c5b8a7c4cb
commit 22606b2137
95 changed files with 17771 additions and 17068 deletions

View File

@@ -1,7 +1,7 @@
import { PrismaClient } from '../generated/client';
import { PrismaClient } from "../generated/client";
const globalForPrisma = global as unknown as { prisma: PrismaClient };
export const prisma = globalForPrisma.prisma || new PrismaClient();
if (process.env.NODE_ENV !== 'production') globalForPrisma.prisma = prisma;
if (process.env.NODE_ENV !== "production") globalForPrisma.prisma = prisma;

View File

@@ -17,7 +17,6 @@ model Account {
@@map(name: "accounts")
}
model Session {
id Int @id @default(autoincrement())
userId Int @map(name: "user_id")

View File

@@ -24,6 +24,7 @@ model User {
email String @unique
password String
vatsimCid Int? @map(name: "vatsim_cid")
moodleId Int? @map(name: "moodle_id")
emailVerified DateTime? @map(name: "email_verified")
image String?
badges BADGES[] @default([])