Commit 9e12b78
Bump Room version 29 -> 30 to clear stem-button default schema hash
Flipping the stem-button @ColumnInfo defaultValue from "HORN" /
"LIGHT_TOGGLE" to "NONE" in the previous commit changed Room's
identity hash for the AppSettings entity even though no column was
added or removed. The on-device DB was still at v29 with the prior
hash, so the next open() crashed:
IllegalStateException: Room cannot verify the data integrity.
Looks like you've changed schema but forgot to update the version
fallbackToDestructiveMigration handles the rebuild for testers on
the rolling pre-release; production will need a real migration when
this lands on main.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9419bcf commit 9e12b78
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments