fix: Bump database version after changing foreign key constraint (#1005)

This commit is contained in:
Nik Clayton 2024-10-14 20:39:34 +02:00 committed by GitHub
parent eeca401942
commit ab186d4d07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1199 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -55,12 +55,13 @@ import app.pachli.core.database.model.TranslatedStatusEntity
TranslatedStatusEntity::class,
LogEntryEntity::class,
],
version = 5,
version = 6,
autoMigrations = [
AutoMigration(from = 1, to = 2, spec = AppDatabase.MIGRATE_1_2::class),
AutoMigration(from = 2, to = 3),
AutoMigration(from = 3, to = 4),
AutoMigration(from = 4, to = 5),
AutoMigration(from = 5, to = 6),
],
)
abstract class AppDatabase : RoomDatabase() {