Skip to content

fix(docs): update migration handling for Cloudflare D1#848

Merged
atinux merged 1 commit intonuxt-hub:mainfrom
michaelreinhard1:main
Feb 16, 2026
Merged

fix(docs): update migration handling for Cloudflare D1#848
atinux merged 1 commit intonuxt-hub:mainfrom
michaelreinhard1:main

Conversation

@michaelreinhard1
Copy link
Copy Markdown
Contributor

Updates the Cloudflare D1 section in the CI/CD documentation with corrected D1 database apply migration configurations

changes made:

  • Added note for migration names compatibility issue for users upgrading from pre v0.10 NuxtHub version.
    Previous migration names in the _hub_migrations table may lack the .sql extension. Wrangler requires .sql in order to recognize the migration files
  • Corrected migrations_dir path to include dialect
    .output/server/db/migrations/ -> .output/server/db/migrations/sqlite/
  • Update workflow to run step Apply D1 Migrations after build step and include CLOUDFLARE_ACCOUNT_ID env variable

I had these issues myself and these were the changes needed to be able to make the D1 migrations work.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 16, 2026

@michaelreinhard1 is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

@atinux atinux merged commit 07547ca into nuxt-hub:main Feb 16, 2026
1 of 3 checks passed
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.

2 participants