Skip to content

Commit

Permalink
d1: make experimental-backend flag consistent (#3314)
Browse files Browse the repository at this point in the history
* d1: make experimental-backend flag consistent

* `create` uses `experimental-backend`
* Blog uses it
* Release notes use it: https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.0.0

Fixing to be consistent.

* wrangler: add changeset for d1 flag fix
  • Loading branch information
elithrar authored May 23, 2023
1 parent 9896cf3 commit d5a230f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dull-carrots-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": patch
---

Fixed `wrangler d1 migrations` to use `--experimental-backend` and not `--experimentalBackend` so that it is consistent with `wrangler d1 create`.
2 changes: 1 addition & 1 deletion packages/wrangler/src/d1/migrations/apply.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import type {

export function ApplyOptions(yargs: CommonYargsArgv) {
return MigrationOptions(yargs)
.option("experimentalBackend", {
.option("experimental-backend", {
default: false,
describe: "Use new experimental DB backend",
type: "boolean",
Expand Down

0 comments on commit d5a230f

Please sign in to comment.