Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
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
The npm package drizzle-prisma-generator receives a total of 834 weekly downloads. As such, drizzle-prisma-generator popularity was classified as not popular.
We found that drizzle-prisma-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.