The worst part of database migrations is not being able to roll back after a production incident. Drizzle Kit generates migrations without connecting to a database β it diffs against local JSON snapshots instead. This makes migration SQL deterministic and reviewable. From push to generate, this article walks through the internals of meta/ snapshots and the __drizzle_migrations table.
Posts tagged with postgresql
postgresql