Drizzle Kit Command Reference
Pack:
drizzle-ormParent skill: Drizzle ORM Migrations and Drizzle Kit Source:drizzle-orm/drizzle-orm-migrations-and-drizzle-kit/references/drizzle-kit-command-reference.md
Read this when
Section titled “Read this when”- you already know the task is Drizzle Kit-specific
- you need command-specific behavior or config expectations
Commands and best-fit usage
Section titled “Commands and best-fit usage”generate: diff Drizzle schema against prior snapshots and write SQL migration files.migrate: apply generated migrations and track them in the migrations table.push: diff current schema against the live database and apply changes directly.pull: introspect the database and generate Drizzle schema output.export: print SQL DDL for the current Drizzle schema so another tool can own execution.check: validate generated migration history consistency.up: upgrade existing snapshot folders to the newer internal format.studio: launch the local Drizzle Studio server.
Useful config fields called out by the docs
Section titled “Useful config fields called out by the docs”dialectschemaoutdbCredentialsschemaFiltertablesFilterextensionsFiltersmigrations.tablemigrations.schema
Good operational habits
Section titled “Good operational habits”- Keep config-file paths explicit in multi-env repos.
- Use filters deliberately for extension-owned tables such as PostGIS internals.
- Prefer config-file-driven setup over long CLI flag strings once a project is established.
Source map
Section titled “Source map”https://orm.drizzle.team/docs/drizzle-kit-generatehttps://orm.drizzle.team/docs/drizzle-kit-migratehttps://orm.drizzle.team/docs/drizzle-kit-pushhttps://orm.drizzle.team/docs/drizzle-kit-pullhttps://orm.drizzle.team/docs/drizzle-kit-exporthttps://orm.drizzle.team/docs/drizzle-kit-checkhttps://orm.drizzle.team/docs/drizzle-kit-uphttps://orm.drizzle.team/docs/drizzle-kit-studio