From 102924b5c8cf853cf97318b8a5530b6831fe3cae Mon Sep 17 00:00:00 2001 From: gedoor Date: Thu, 26 Aug 2021 11:41:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/data/AppDatabase.kt | 1 - 1 file changed, 1 deletion(-) 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)