Skip to content

Commit 9e12b78

Browse files
eriedclaude
andcommitted
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

File tree

app/src/main/java/com/eried/eucplanet/data/db/AppDatabase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import com.eried.eucplanet.data.model.TripRecord
88

99
@Database(
1010
entities = [AppSettings::class, TripRecord::class, AlarmRule::class],
11-
version = 29,
11+
version = 30,
1212
exportSchema = false
1313
)
1414
abstract class AppDatabase : RoomDatabase() {

0 commit comments

Comments
 (0)