generated from nhcarrigan/template
30 lines
666 B
Plaintext
30 lines
666 B
Plaintext
// 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 Announcements {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
title String
|
|
content String
|
|
type String
|
|
createdAt DateTime @unique @default(now())
|
|
}
|
|
|
|
model Documentation {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
title String
|
|
pageTitle String
|
|
url String
|
|
content String
|
|
pageId String @unique
|
|
file String
|
|
}
|