workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🚀 Feature Request: allow auto approve d1 migrations apply

Open shyim opened this issue 1 year ago • 2 comments

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 avatar Feb 14 '24 22:02 shyim

@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

Ehbraheem avatar Sep 10 '25 00:09 Ehbraheem

Hey there, any update for this ? Am I missing something or is this not critical to all of us ?

celestial-rose avatar Dec 09 '25 10:12 celestial-rose

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.

Ehbraheem avatar Dec 15 '25 00:12 Ehbraheem