We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Just came across this issue trying to update my production schema.
In package.json the up:prod command runs: wrangler d1 migrations apply sonicjs/
package.json
up:prod
wrangler d1 migrations apply sonicjs
This will not, as far as I can tell update your production database, only the local DB.
According to https://developers.cloudflare.com/workers/wrangler/commands/#migrations-apply there is a --remote switch that is needed to update the production/remote D1 DB.
--remote
Update the up:prod command to use:
wrangler d1 migrations apply sonicjs --remote
Change the up command to, as --local is true by default:
up
--local
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Just came across this issue trying to update my production schema.
In
package.json
theup:prod
command runs:wrangler d1 migrations apply sonicjs
/This will not, as far as I can tell update your production database, only the local DB.
According to https://developers.cloudflare.com/workers/wrangler/commands/#migrations-apply there is a
--remote
switch that is needed to update the production/remote D1 DB.Recommendation
Update the
up:prod
command to use:Change the
up
command to, as--local
is true by default:The text was updated successfully, but these errors were encountered: