mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-11-07 02:33:00 +00:00
Migrate database
This commit is contained in:
@@ -84,6 +84,11 @@ class DatabaseMigrationTest {
|
||||
true, Migrations.MIGRATION_4_5
|
||||
)
|
||||
|
||||
testHelper.runMigrationsAndValidate(
|
||||
AppDatabase.DATABASE_NAME, Migrations.DB_VER_6,
|
||||
true, Migrations.MIGRATION_5_6
|
||||
)
|
||||
|
||||
val migratedDatabaseV3 = getMigratedDatabase()
|
||||
val listFromDB = migratedDatabaseV3.streamDAO().all.blockingFirst()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user