Loading...
npx prisma dev{
"mcpServers": {
"Prisma": {
"command": "npx",
"args": ["-y", "prisma", "mcp"]
}
}
}prisma migrateApplies database schema migrations defined in the Prisma schema.
Can alter database structure, potentially leading to data loss or application downtime.
prisma generateGenerates the Prisma Client based on the current Prisma schema.
Generates code based on schema, no direct database modification.
prisma studioProvides a GUI to view and edit data in the database.
Allows direct data manipulation, but requires authentication.
prisma db pullIntrospects an existing database and generates a Prisma schema.
Reads database schema, no modifications.
Prisma offers a balance of safety and functionality. It's safe when used with proper configuration and access controls, but risky if database credentials are exposed or migrations are not carefully managed.