feat: initial prototype
Some checks failed
Node.js CI / Lint and Test (push) Has been cancelled

This commit is contained in:
2025-02-23 19:45:53 -08:00
parent bbf71b077e
commit 3b5ceef191
25 changed files with 6276 additions and 14 deletions

23
prisma/schema.prisma Normal file
View File

@ -0,0 +1,23 @@
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "mongodb"
url = env("MONGO_URI")
}
model Tickets {
id String @id @default(auto()) @map("_id") @db.ObjectId
uuid String
threadId String @unique
open Boolean
@@index([uuid, open], map: "uuid_open")
}
model Roles {
id String @id @default(auto()) @map("_id") @db.ObjectId
serverId String @unique
roleId String
}