aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-03-07 17:29:53 -0500
committerAllan Wang <me@allanwang.ca>2019-03-07 17:29:53 -0500
commitb769e36802c15f521665a353e8ed5e637efeef1f (patch)
tree13f4d8deba95a579befce0319904b108c01655dd
parente617c95e2b4acfcfbeb1a72a658f19e69eaa3d6c (diff)
downloadfrost-b769e36802c15f521665a353e8ed5e637efeef1f.tar.gz
frost-b769e36802c15f521665a353e8ed5e637efeef1f.tar.bz2
frost-b769e36802c15f521665a353e8ed5e637efeef1f.zip
Disable fallback
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/db/Database.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/db/Database.kt b/app/src/main/kotlin/com/pitchedapps/frost/db/Database.kt
index ae96b696..5fc986e3 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/db/Database.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/db/Database.kt
@@ -60,11 +60,11 @@ class FrostDatabase(private val privateDb: FrostPrivateDatabase, private val pub
val privateDb = Room.databaseBuilder(
context, FrostPrivateDatabase::class.java,
FrostPrivateDatabase.DATABASE_NAME
- ).fallbackToDestructiveMigration().build()
+ ).build()
val publicDb = Room.databaseBuilder(
context, FrostPublicDatabase::class.java,
FrostPublicDatabase.DATABASE_NAME
- ).fallbackToDestructiveMigration().build()
+ ).build()
return FrostDatabase(privateDb, publicDb)
}