generated from nhcarrigan/template
All checks were successful
Node.js CI / Lint and Test (push) Successful in 1m48s
### Explanation _No response_ ### Issue _No response_ ### Attestations - [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [ ] I have pinned the dependencies to a specific patch version. ### Style - [x] I have run the linter and resolved any errors. - [x] My pull request uses an appropriate title, matching the conventional commit standards. - [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [ ] My contribution adds new code, and I have added tests to cover it. - [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [ ] All new and existing tests pass locally with my changes. - [ ] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning Minor - My pull request introduces a new non-breaking feature. Reviewed-on: #3 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
115 lines
3.2 KiB
Plaintext
115 lines
3.2 KiB
Plaintext
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "mongodb"
|
|
url = env("MONGO_URI")
|
|
}
|
|
|
|
model Appeals {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
understandBinding Boolean
|
|
sanctionType String
|
|
caseNumber Int
|
|
sanctionPlatform String
|
|
platformUsername String
|
|
sanctionReason String
|
|
sanctionFair String
|
|
behaviourViolation String
|
|
appealReason String
|
|
behaviourImprove String
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model Contacts {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
companyName String
|
|
request String
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model Commissions {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
companyName String
|
|
request String
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model Staff {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
understandVolunteer Boolean
|
|
platform String
|
|
platformUsername String
|
|
whyJoin String
|
|
currentBehaviour String
|
|
priorExperience String
|
|
internalConflict String
|
|
handlingTrauma String
|
|
difficultSituation String
|
|
leadershipSituation String
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model Events {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
companyName String
|
|
eventDescription String
|
|
eventTopic String
|
|
eventLocation String
|
|
eventDate String
|
|
eventBudget String
|
|
travelCovered Boolean
|
|
lodgingCovered Boolean
|
|
foodCovered Boolean
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model Meetings {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
companyName String
|
|
sessionLength Int
|
|
sessionGoal String
|
|
paymentUnderstanding Boolean
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model Mentorships {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
companyName String
|
|
mentorshipGoal String
|
|
currentFocus String
|
|
paymentUnderstanding Boolean
|
|
createdAt DateTime @default(now())
|
|
}
|
|
|
|
model Testimonials {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
email String @unique
|
|
firstName String
|
|
lastName String
|
|
content String
|
|
createdAt DateTime @default(now())
|
|
}
|