generator client {
provider = "prisma-client-js"
output = "../node_modules/.prisma/client"
}
datasource db {
provider = "sqlite"
url = "file:./dev.db"
}
model PrismaTest {
id Int @id @default(autoincrement())
date DateTime
bigint BigInt
decimal Decimal
}
model Customers {
customerId Int @id @default(autoincrement())
companyName String?
contactName String?
}
/// Testing with D1 types
model Test {
id Int @id @default(autoincrement())
text String?
real Float?
int Int?
boolean Boolean
blob Bytes?
}
/// Testing with non-default D1 types
/// Unchecked:
/// - DECIMAL
/// - JSON
model User {
id Int @id @default(autoincrement())
posts Post[]
}
model Post {
id Int @id @default(autoincrement())
author User @relation(fields: [authorId], references: [id])
authorId Int
title String
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/prisma/prisma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server