Can't run D1 migrations with auto-provisioning
I'm using the new auto-provisioning of D1 which is working when I deploy to create the database but I'm unable to figure out a way to run the migrations. I tried adding a npm script
I'm using Cloudflare Builds to deploy and I don't see any other way to add an ad hoc command to the deploy process. I'm using the latest wrangler (4.53.0)
"deploy": "wrangler d1 migrations apply DB --remote && wrangler deploy" but this fails with: ✘ [ERROR] Couldn't find a D1 DB with the name or binding 'DB' in your wrangler.json file.I'm using Cloudflare Builds to deploy and I don't see any other way to add an ad hoc command to the deploy process. I'm using the latest wrangler (4.53.0)