Skip to content

feat(drizzle): add cloudflare D1 database#976

Open
sacrosanctic wants to merge 19 commits intosveltejs:mainfrom
sacrosanctic:brainy-magpie
Open

feat(drizzle): add cloudflare D1 database#976
sacrosanctic wants to merge 19 commits intosveltejs:mainfrom
sacrosanctic:brainy-magpie

Conversation

@sacrosanctic
Copy link
Contributor

@sacrosanctic sacrosanctic commented Mar 10, 2026

closes #951

auth is now a factory. Would like it not to be, is there another way to get platform info.

todo

  • update wrangler
  • update better-auth
  • show D1 only for cloudflare adapter or no/auto adapter

@changeset-bot
Copy link

changeset-bot bot commented Mar 10, 2026

🦋 Changeset detected

Latest commit: 26eb9c4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sv Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 10, 2026

Open in StackBlitz

npx https://pkg.pr.new/svelte-migrate@976
npx https://pkg.pr.new/sv@976
npx https://pkg.pr.new/@sveltejs/sv-utils@976

commit: 26eb9c4

@jycouet jycouet changed the title feat(sv): add cloudflare d1 as db option feat(sv): add cloudflare D1 database Mar 11, 2026
@jycouet jycouet changed the title feat(sv): add cloudflare D1 database feat(drizzle): add cloudflare D1 database Mar 11, 2026
@jycouet
Copy link
Contributor

jycouet commented Mar 14, 2026

@sacrosanctic I think that it's the other way around, not show D1 only for cloudflare adapter or no/auto adapter, but add the good adapter if you select D1

I let you have a look :)
Thx for looking at this

@sacrosanctic sacrosanctic marked this pull request as ready for review March 17, 2026 09:44
@sacrosanctic
Copy link
Contributor Author

@jycouet ready

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cloudflare D1 database with drizzle

2 participants