Skip to content

Commit dc8c729

Browse files
committed
Full auto-load of projection schemas in prisma
1 parent 5a284d1 commit dc8c729

File tree

1 file changed

+0
-29
lines changed
  • local-development/docker-build/frontend-database-explorer/prisma-mongodb

1 file changed

+0
-29
lines changed

local-development/docker-build/frontend-database-explorer/prisma-mongodb/schema.prisma

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,6 @@ generator dbml {
1414
output = "./dbml"
1515
}
1616

17-
model CardProduct {
18-
id String @id @default(auto()) @map("_id") // Maps to the MongoDB _id field
19-
active Boolean
20-
name String
21-
@@map("EnrollmentProducts") // Maps to the specified MongoDB collection
22-
}
23-
24-
model EnrollmentRequest {
25-
id String @id @default(auto()) @map("_id")
26-
userId String @index
27-
productId String @index
28-
productName String
29-
requestedDate String
30-
status String @index
31-
reviewedDate String
32-
@@map("Enrollments")
33-
}
34-
35-
model CreditCardProduct {
36-
id String @id @default(auto()) @map("_id")
37-
name String
38-
active Boolean @map("isActive")
39-
reward String
40-
annualFeeInCents Int
41-
creditLimitInCents Int
42-
hexColor String
43-
@@map("ProductListItems")
44-
}
45-
4617
// This will make Prisma introspect your MongoDB database
4718
// Run: prisma db pull
4819
// Then the models will be automatically generated based on your existing collections

0 commit comments

Comments
 (0)