PRO

Drizzle Kit Migration Gate

A non-interactive migration gate built on the drizzle-kit 1.0 rc.4 programmatic SDK at the drizzle-kit/cli subpath. It keeps rename-versus-create and confirm-data-loss decisions in a reviewed Hint array in the repository, asserts in CI that the schema and the committed migration folder agree by treating a no_changes result as the pass condition, rejects any unapproved destructive change by name with the reason drizzle-kit reported, and applies the same ledger on preview databases through push without ever reaching for force.

Install
npx shadcn@latest add https://ui.aryank.space/r/drizzle-kit-migration-gate.json

Installs from ui.aryank.space. To add it by hand, copy the files in Files below, or register the @compronents namespace via the docs.

Visualization
ci run
schema check
unknown
const result = await generate({ config, hints: approvedHints })

CI asserts the schema and the committed migration folder agree; a no_changes result is the pass condition and the gate stays green.

Files

Dependencies