npx wrangler d1 migrations list my-db

Category: Cloudflare

npx wrangler d1 migrations list my-db

List unapplied D1 migrations

Shows which migration files exist and which have not been applied yet, so you know what `wrangler d1 migrations apply` is about to run. Applied migrations are recorded in a migrations table inside the database. Run this before applying to review pending changes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.