Skip to content

[Cloudflare Workers] Support Laravel models and migrations on Durable Object SQLite - #812

Draft
bosunski wants to merge 16 commits into
laravel:0.xfrom
bosunski:review/cf-do-sqlite
Draft

bosunski wants to merge 16 commits into
laravel:0.xfrom
bosunski:review/cf-do-sqlite

Conversation

@bosunski

@bosunski bosunski commented Dec 3, 2026

Copy link
Copy Markdown

A SQLite-backed Durable Object owns its database inside the object. Add a do:// connection so Laravel's models, query builder, and migrations can use that storage. The new database-do feature can build on Wasm independently of D1.

This is stacked on the Workers database and migration drafts to share their binding-backed query and migration code. GitHub's diff against 0.x also includes the prerequisites. Review this change on its own.

A Wasm consumer compiled with database-do as its only Laravel database feature. A Durable Object request test on this rebased branch is pending.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants