workers-sdk
workers-sdk copied to clipboard
🚀 Feature Request: allow auto approve d1 migrations apply
Describe the solution
I can apply migrations using wrangler d1 migrations apply, but I have to say yes to the prompt. It's annoying.
My workaround is:
yes | pnpm --prefix api run wrangler d1 migrations apply --local shopmonDB
@shyim If this is still a problem for you, you can always bypass the confirmation like below
yes Y | npx wrangler d1 migrations apply DB_NAME
I'll open a PR to make it easy to bypass the confirmation using a flag
Hey there, any update for this ? Am I missing something or is this not critical to all of us ?
Hey there, any update for this ? Am I missing something or is this not critical to all of us ?
@celestial-rose You can track the changes here #10598. It's approved now should be released this week.