Skip to content

[D1] Correct preview database binding docs - #32551

Open
FlorentCollin wants to merge 2 commits into
productionfrom
fcollin/docs-update-d1-preview-database-id
Open

[D1] Correct preview database binding docs#32551
FlorentCollin wants to merge 2 commits into
productionfrom
fcollin/docs-update-d1-preview-database-id

Conversation

@FlorentCollin

@FlorentCollin FlorentCollin commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

Corrects the preview_database_id binding reference: it is optional for remote development and falls back to database_id when omitted.

This has come up in one of the D1 escalation ticket and caused some confusion. The field is not required but highly recommended when using wrangler dev --remote https://github.com/cloudflare/workers-sdk/blob/ed666a14156b5600acc11fdc3e1cfec0b0d9f6df/packages/wrangler/src/dev.ts#L508-L527

Documentation checklist

@github-actions github-actions Bot added product:workers Related to Workers product size/xs labels Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers/wrangler/ @cloudflare/wrangler, @irvinebroque, @cloudflare/product-owners, @MattieTK, @vy-ton

@FlorentCollin
FlorentCollin marked this pull request as ready for review August 5, 2026 18:02
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit c67082f.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants