feat: add prisma

This commit is contained in:
2026-01-05 16:42:01 -05:00
parent f11b8273c2
commit 6fda359b2d
10 changed files with 417 additions and 87 deletions
+24
View File
@@ -0,0 +1,24 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
generator client {
provider = "prisma-client"
output = "../generated/prisma"
}
datasource db {
provider = "mongodb"
url = env("DATABASE_URL")
}
model ServerData {
id String @id @default(auto()) @map("_id") @db.ObjectId
serverId String
channelId String
roleId String
message String
cron String
}