File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
local-development/docker-build/frontend-database-explorer/prisma-mongodb Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments