generated from nhcarrigan/template
wip: made some progress
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// This is your Prisma schema file,
|
||||
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
||||
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "mongodb"
|
||||
url = env("MONGO_URI")
|
||||
}
|
||||
|
||||
model Servers {
|
||||
id String @id @default(auto()) @map("_id") @db.ObjectId
|
||||
serverId String @unique
|
||||
questionChannelId String
|
||||
answerChannelId String
|
||||
blockedUsers String[]
|
||||
}
|
||||
Reference in New Issue
Block a user