From d5b78fa1e25d1a5b7975fe6e89870da671aa015e Mon Sep 17 00:00:00 2001 From: gedoor Date: Thu, 6 Jun 2019 22:15:14 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 bd1ff6664..819298f55 100644 --- a/app/src/main/java/io/legado/app/data/AppDatabase.kt +++ b/app/src/main/java/io/legado/app/data/AppDatabase.kt @@ -10,12 +10,12 @@ import io.legado.app.data.dao.BookDao import io.legado.app.data.dao.ReplaceRuleDao import io.legado.app.data.dao.BookSourceDao import io.legado.app.data.entities.Book +import io.legado.app.data.entities.BookSource import io.legado.app.data.entities.Chapter import io.legado.app.data.entities.ReplaceRule -@Database(entities = [Book::class, Chapter::class, ReplaceRule::class], version = 1, exportSchema = true) -// @TypeConverters(Converters::class) +@Database(entities = [Book::class, BookSource::class, Chapter::class, ReplaceRule::class], version = 1, exportSchema = true) abstract class AppDatabase : RoomDatabase() { companion object {