generated from nhcarrigan/template
feat: initial project prototype (#2)
Some checks failed
Node.js CI / Lint and Test (push) Has been cancelled
Some checks failed
Node.js CI / Lint and Test (push) Has been cancelled
### 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 - [x] 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. - [x] All new and existing tests pass locally with my changes. - [x] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning Major - My pull request introduces a breaking change. Reviewed-on: nhcarrigan/forms#2 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
105
prisma/schema.prisma
Normal file
105
prisma/schema.prisma
Normal file
@ -0,0 +1,105 @@
|
||||
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())
|
||||
}
|
Reference in New Issue
Block a user