mpp-server-dev2/prisma/schema.prisma

24 lines
525 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 = "sqlite"
url = env("DATABASE_URL")
}
model User {
id String @id @unique @map("_id")
name String @default("Anonymous")
color String @default("#ffffff")
flags String @default("{}") // JSON flags object
}
model ChatHistory {
id String @id @unique @map("_id")
messages String @default("[]") // JSON messages
}