Skip to main content

AI 工具

在这个部分

¥In this section

使用 prisma init --prompt 命令构建一个带有新数据库的新 Prisma 项目:

¥Scaffold a new Prisma project with a new database using the prisma init --prompt command:

npx prisma init --prompt "Simple habit tracker application"

这将根据提示生成 Prisma 模式并将其部署到全新的 Prisma Postgres 实例。

¥This will generate a Prisma schema based on the prompt and deploy it to a fresh Prisma Postgres instance.

Prisma MCP 服务器

¥Prisma MCP server

Prisma 提供自己的 模型上下文协议 (MCP) 服务器,可让你管理 Prisma Postgres 数据库、建模数据库模式并通过迁移进行聊天。了解更多关于 此处 的信息。

¥Prisma provides its own Model Context Protocol (MCP) server that lets you manage Prisma Postgres databases, model database schemas and chat through migrations. Learn more about it here.