diff --git a/app/src/main/java/io/legado/app/data/AppDatabase.kt b/app/src/main/java/io/legado/app/data/AppDatabase.kt index e22b26eaf..3d134820c 100644 --- a/app/src/main/java/io/legado/app/data/AppDatabase.kt +++ b/app/src/main/java/io/legado/app/data/AppDatabase.kt @@ -50,7 +50,6 @@ abstract class AppDatabase : RoomDatabase() { fun createDatabase(context: Context) = Room.databaseBuilder(context, AppDatabase::class.java, DATABASE_NAME) - .fallbackToDestructiveMigration() .addMigrations(*DatabaseMigrations.migrations) .allowMainThreadQueries() .addCallback(dbCallback)