missing migration
This commit is contained in:
parent
8ec991c3d7
commit
8c59b7dc14
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ open class DatabaseModule {
|
||||||
Room
|
Room
|
||||||
.databaseBuilder(context, AppDatabase::class.java, fileName)
|
.databaseBuilder(context, AppDatabase::class.java, fileName)
|
||||||
.addMigrations(migration5to6)
|
.addMigrations(migration5to6)
|
||||||
|
.addMigrations(migration6to7)
|
||||||
.fallbackToDestructiveMigration()
|
.fallbackToDestructiveMigration()
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue