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.
npx shadcn@latest add @compronents/drizzle-kit-migration-gateInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
CI asserts the schema and the committed migration folder agree; a no_changes result is the pass condition and the gate stays green.