
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
drizzle-prisma-generator
Advanced tools
Automatically generate Drizzle schema from Prisma schema
pnpm add -D drizzle-prisma-generator
generator drizzle {
provider = "drizzle-prisma-generator"
output = "./src/schema.ts"
}
:warning: - if output doesn't end with .ts
, it will be treated like a folder, and schema will be generated to schema.ts
inside of it.
:warning: - binary types in MySQL
, PostgreSQL
are not yet supported by drizzle-orm
, therefore will throw an error.
:warning: - generator only supports postgresql
, mysql
, sqlite
data providers, others will throw an error.
drizzle-orm
: pnpm add drizzle-orm
FAQs
Generate Drizzle schema from Prisma schema
We found that drizzle-prisma-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.