Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c10282c authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

App lounge: FusedDatabase - upgrade version number and add fallbackToDestructiveMigration()

parent 7137bfc5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ object DatabaseModule {
            context,
            FusedDatabase::class.java,
            DATABASE_NAME
        ).build()
        ).fallbackToDestructiveMigration().build()
    }

    @Singleton
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ import androidx.room.TypeConverters
import foundation.e.apps.manager.database.fusedDownload.FusedDownload
import foundation.e.apps.manager.database.fusedDownload.FusedDownloadDAO

@Database(entities = [FusedDownload::class], version = 1, exportSchema = false)
@Database(entities = [FusedDownload::class], version = 2, exportSchema = false)
@TypeConverters(FusedConverter::class)
abstract class FusedDatabase : RoomDatabase() {