Update tests to use new db schema and migrations

This commit is contained in:
Tobias_Groza
2024-08-09 13:41:53 +02:00
parent 1e7324ca3b
commit 14ffc7023b
3 changed files with 5 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ public object FDroidDatabaseHolder {
FDroidDatabaseInt::class.java,
name,
).apply {
addMigrations(MIGRATION_2_3)
addMigrations(MIGRATION_2_3, MIGRATION_5_6)
// We allow destructive migration (if no real migration was provided),
// so we have the option to nuke the DB in production (if that will ever be needed).
fallbackToDestructiveMigration()