docs: add database migration checklist#9996
Merged
wmontwe merged 3 commits intothunderbird:mainfrom Nov 4, 2025
Merged
Conversation
ded2ca4 to
d4ce40a
Compare
Comment on lines
152
to
153
| - Last shipped beta migration: `MigrationTo6.kt` | ||
| - Last migration on beta: `MigrationTo7.kt` |
Member
There was a problem hiding this comment.
It feels like this is wrong... Shouldn't it be:
Suggested change
| - Last shipped beta migration: `MigrationTo6.kt` | |
| - Last migration on beta: `MigrationTo7.kt` | |
| - Last shipped release migration: `MigrationTo4.kt` | |
| - Last migration on beta: `MigrationTo6.kt` |
Member
Author
There was a problem hiding this comment.
I updated the documentation.
| - Take the unreleased `MigrationTo7.kt` and reintroduce it as `MigrationTo12.kt`, adjusted against the new base schema (post‑`11`). | ||
| - Bump `DB_VERSION` to `12`, register `MigrationTo12.kt`. | ||
| - Update `dbCreateDatabaseFromScratch` to reflect post-`12` schema. | ||
| - Remove old `MigrationTo7.kt` from `beta`. |
Member
There was a problem hiding this comment.
Shouldn't it be:
Remove old
MigrationTo7.ktfrommain.
in this situation?
Considering that the current db on beta is 7, and the last Migration applied was Migration6.kt, the Migration7.kt does not exist in the beta branch.
Member
Author
There was a problem hiding this comment.
You're right, this step is not needed. I updated the documentation.
d4ce40a to
3f732be
Compare
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.
Resolves #9995