From 30bc803dd3d0d4a01add7dcf62e9528afea4ac2d Mon Sep 17 00:00:00 2001 From: Mayank Mishra Date: Wed, 15 Oct 2025 16:46:38 +0530 Subject: [PATCH] fixed the schema file --- prisma/schema.prisma | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 3d925d9..cd7a91c 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -2,7 +2,7 @@ // learn more about it in the docs: https://pris.ly/d/prisma-schema generator client { - provider = "prisma-client-js" + provider = "prisma-client-js" previewFeatures = ["multiSchema"] } @@ -34,6 +34,8 @@ enum UserRole { USER ADMIN HR + + @@schema("usr") } model Blog { @@ -148,7 +150,8 @@ model KlcArchive { tags String[] @default([]) @map("tags") createdAt DateTime @default(now()) @map("created_at") updatedAt DateTime @updatedAt @map("updated_at") - deletedAt DateTime? @map("delecase_studies + deletedAt DateTime? @map("deleted_at") + @@map("klc_archive") @@schema("cnt") }