Status: Working patch for the exact combo
drizzle-orm@1.0.0-beta.20+drizzle-kit@1.0.0-beta.20+effect@4.0.0-beta.42+@effect/sql-pg@4.0.0-beta.42Tested package managers:bun@1.3.12,pnpm@11.0.0-rc.0Context: drizzle-team/drizzle-orm#5484 (unmerged PR), drizzle-team/drizzle-orm#5414 Scope: This gist is intentionally version-specific. If you move to a different Drizzle beta or different Effect beta, re-test or regenerate the patch.
Drizzle ORM 1.0 ships a built-in Effect integration at drizzle-orm/effect-postgres, but the published drizzle-orm@1.0.0-beta.20 package targets Effect v3 APIs. This patch updates that integration to work with Effect v4 for the exact versions above.
The patch file in this gist is manager-neutral. The patch contents work with both Bun and pnpm v11. What differs is only where