Repository navigation
Restore beta database migration compatibility - #339
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
v0.1.44-beta.14omitted the previously released20260912160000_todo_target_lockmigration identity. Databases used by beta.11 and later therefore fail closed before migration withUnsupported database migration, even though their schema is intact.Solution
v0.1.44-beta.15.Existing databases that already applied this migration recognize it without rerunning it. New databases create the same previously published table.
Verification
bun test test/storage/compatibility.test.ts test/installation/rollback.test.ts --timeout 30000— 12 passed, 0 failed.bun run typecheck— passed.0.1.44-beta.15build loaded 29 migrations and passed--version/--helpsmoke checks.compatible: true,pending: [],legacy: false; the compiled binary listed a session successfully;PRAGMA quick_checkremainedok; and the database SHA-256 remained unchanged.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.