fix: add fallbackToDestructiveMigration to prevent Room schema crash

This commit is contained in:
Paweł Orzech 2026-03-19 11:29:59 +01:00
parent b976ceb9df
commit 48127bffbe
No known key found for this signature in database

View file

@ -38,6 +38,7 @@ abstract class AppDatabase : RoomDatabase() {
"swoosh_database"
)
.addMigrations(MIGRATION_1_2)
.fallbackToDestructiveMigration()
.build()
INSTANCE = instance
instance