fix: Bump database version after changing foreign key constraint (#1005)
This commit is contained in:
parent
eeca401942
commit
ab186d4d07
File diff suppressed because it is too large
Load Diff
|
@ -55,12 +55,13 @@ import app.pachli.core.database.model.TranslatedStatusEntity
|
||||||
TranslatedStatusEntity::class,
|
TranslatedStatusEntity::class,
|
||||||
LogEntryEntity::class,
|
LogEntryEntity::class,
|
||||||
],
|
],
|
||||||
version = 5,
|
version = 6,
|
||||||
autoMigrations = [
|
autoMigrations = [
|
||||||
AutoMigration(from = 1, to = 2, spec = AppDatabase.MIGRATE_1_2::class),
|
AutoMigration(from = 1, to = 2, spec = AppDatabase.MIGRATE_1_2::class),
|
||||||
AutoMigration(from = 2, to = 3),
|
AutoMigration(from = 2, to = 3),
|
||||||
AutoMigration(from = 3, to = 4),
|
AutoMigration(from = 3, to = 4),
|
||||||
AutoMigration(from = 4, to = 5),
|
AutoMigration(from = 4, to = 5),
|
||||||
|
AutoMigration(from = 5, to = 6),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
abstract class AppDatabase : RoomDatabase() {
|
abstract class AppDatabase : RoomDatabase() {
|
||||||
|
|
Loading…
Reference in New Issue