2025-05-11 17:44:59 +08:00

24 lines
443 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 = "postgres"
url = env("DATABASE_URL")
}
model user {
id String @id() @default(uuid())
username String
}
model message {
id String @id() @default(uuid())
content String
userId String
createAt DateTime @default(now())
}