Skip to content

Conversation

Ehbraheem
Copy link

@Ehbraheem Ehbraheem commented Sep 7, 2025

Summary

Allow a migration to be either:

  • a top-level .sql file (unchanged), or
  • a directory whose name is the migration name and which contains one or more .sql files (executed in deterministic order).

  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: internal behavior change; README/docs follow-up can be added separately.
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: change is contained to D1 migration logic and tests in this repo.

@Ehbraheem Ehbraheem requested review from a team as code owners September 7, 2025 12:25
Copy link

changeset-bot bot commented Sep 7, 2025

🦋 Changeset detected

Latest commit: 83cbf7b

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

This PR includes changesets to release 3 packages
Name Type
wrangler Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-pool-workers Patch

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

@Ehbraheem
Copy link
Author

@penalosa, please help take a look at this PR when you're free.

This change will help unblock dev work

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.

1 participant