mirror of
https://github.com/vitalityAI/therapist.git
synced 2025-04-16 17:40:16 -04:00
22 lines
422 B
Plaintext
22 lines
422 B
Plaintext
// This is your Prisma schema file,
|
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
|
|
datasource db {
|
|
provider = "mongodb"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
model Session {
|
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
|
|
startedAt DateTime @default(now())
|
|
endedAt DateTime?
|
|
|
|
callId String @unique
|
|
phoneNumber String @unique
|
|
}
|