Locally it works (using the binding name) - I've now tested with the DB name and it works as well lo

Locally it works (using the binding name) - I've now tested with the DB name and it works as well locally, but I get the same error while deploying.

17:09:38.403    > db:migrate-remote
17:09:38.403    > npx wrangler d1 migrations apply db-prod --remote
17:09:38.404    
17:09:39.845     ⛅️ wrangler 3.52.0
17:09:39.845    -------------------
17:09:41.463    Failed: Error while executing user command. Exited with error code: 1
17:09:41.473    Failed: build command exited with code: 1
17:09:42.674    Failed: error occurred while running build command
Was this page helpful?