You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
776 B

generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "mongodb"
url = env("DATABASE_URL")
}
model supportMessage {
id String @id @default(auto()) @map("_id") @db.ObjectId
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user String? @db.ObjectId
name String?
email String?
phone String?
category String?
message String?
ip String?
userAgent String?
type String @default("RECEIVED")
}
model pageView {
id String @id @default(auto()) @map("_id") @db.ObjectId
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user String? @db.ObjectId
ip String?
userAgent String?
referer String?
url String?
}