How do I stop my agent running D1 migrations on the wrong database?
Summary As of October 2026, Cloudflare's Wrangler docs show wrangler d1 migrations apply, list and execute each take --local, --remote or --preview, apply prompts for confirmation, and a failed migration is rolled back; applied migrations are tracked in a d1_migrations table.