Skip to content

Commit

Permalink
+ Updates: database migration code
Browse files Browse the repository at this point in the history
  • Loading branch information
AjeshRPai committed Jul 10, 2023
1 parent abe79cc commit 52efb9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ import org.wordpress.android.fluxc.persistence.domains.DomainDao.DomainEntity
autoMigrations = [
AutoMigration(from = 11, to = 12),
AutoMigration(from = 12, to = 13),
AutoMigration(from = 13, to = 14)
AutoMigration(from = 13, to = 14),
AutoMigration(from = 14, to = 15)
]
)
@TypeConverters(
Expand Down Expand Up @@ -85,7 +86,6 @@ abstract class WPAndroidDatabase : RoomDatabase() {
.addMigrations(MIGRATION_3_4)
.addMigrations(MIGRATION_5_6)
.addMigrations(MIGRATION_7_8)
.addMigrations(MIGRATION_14_15)
.build()

val MIGRATION_1_2 = object : Migration(1, 2) {
Expand Down

0 comments on commit 52efb9b

Please sign in to comment.