-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: make it possible to use a local db for migrations * Create violet-lamps-cry.md * Update execute.tsx * Update execute.tsx * Update apply.tsx * Update packages/wrangler/src/d1/migrations/apply.tsx Co-authored-by: Somhairle MacLeòid <samuel@macleod.space> * Update apply.tsx * Update helpers.ts * Update execute.tsx * add isInteractiveAndNotCI * Revert "add isInteractiveAndNotCI" This reverts commit 02cb33f. * use isCI Co-authored-by: Somhairle MacLeòid <samuel@macleod.space>
- Loading branch information
Showing
4 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: make it possible to use a local db for d1 migrations | ||
|
||
As of this change, wrangler's d1 migrations commands now accept `local` and `persist-to` as flags, so migrations can run against the local d1 db. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters