Update database schema: foreign keys and indices

This commit is contained in:
Koitharu
2020-03-28 12:28:03 +02:00
parent 1a93cc228d
commit 2c66edda68
28 changed files with 353 additions and 163 deletions

View File

@@ -14,6 +14,7 @@ import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin
import org.koin.dsl.module
import org.koitharu.kotatsu.core.db.MangaDatabase
import org.koitharu.kotatsu.core.db.migrations.Migration1To2
import org.koitharu.kotatsu.core.local.CbzFetcher
import org.koitharu.kotatsu.core.local.PagesCache
import org.koitharu.kotatsu.core.local.cookies.PersistentCookieJar
@@ -109,5 +110,5 @@ class KotatsuApp : Application() {
applicationContext,
MangaDatabase::class.java,
"kotatsu-db"
)
).addMigrations(Migration1To2)
}