Nx Prisma Migrations: Per-Service Migration Targets in a Monorepo
Set up per-service Prisma schemas, clients and migration targets in Nx so migrations run against the right database and affected CI never skips them.
13 min read
Tag
Set up per-service Prisma schemas, clients and migration targets in Nx so migrations run against the right database and affected CI never skips them.
13 min read
Structure an Nx Prisma monorepo with one owned schema, a shared Prisma client, Nx targets, safe migrations and module boundaries for many services.
14 min read
Compare Prisma, Drizzle and Kysely for Postgres APIs: type safety, migrations, real queries, pooling, transactions and how to choose by how much SQL you own.
14 min read
Model each service's schema as an Nx database migration target, validate affected migrations in PR CI, and apply them safely at deploy time with Prisma.
14 min read
Model each service's Flyway or Prisma migrations as Nx targets: cache-safe validation, uncached deploys, affected checks, ordering and CI wiring.
13 min read
Learn to propagate Prisma interactive transactions across NestJS services with an AsyncLocalStorage unit of work, plus nesting, timeouts and testing.
15 min read
Build an Nx Prisma shared library that owns schema, migrations and the generated client, with cached generate targets, lint boundaries and safe deployment.
14 min read
Set up an Nx Prisma shared library with a cacheable generate target, a single migration pipeline and safe schema changes across backend apps.
20 min read
Compare Drizzle and Prisma by architecture, emitted SQL, ORM overhead, cold starts and migration workflows, and get a checklist for picking one.
15 min read
Put one Prisma schema and migration history in a shared Nx library, wire nx targets for generate and migrate, and deploy migrations safely for many apps.
14 min read
Model Prisma and Protobuf codegen as cacheable Nx targets with namedInputs, explicit outputs and dependsOn so the Nx cache never serves stale builds.
14 min read
Compare Prisma, Drizzle and Kysely for Node.js APIs: schema source of truth, type generation, query style, migrations, runtime trade-offs and when to pick each.
19 min read