mirror of
https://github.com/bitwarden/android.git
synced 2026-03-09 03:33:36 -05:00
Drop all tables when performing destructive migration in Authenticator (#5108)
This commit is contained in:
@@ -30,7 +30,7 @@ object AuthenticatorDiskModule {
|
||||
klass = AuthenticatorDatabase::class.java,
|
||||
name = "authenticator_database",
|
||||
)
|
||||
.fallbackToDestructiveMigration()
|
||||
.fallbackToDestructiveMigration(dropAllTables = true)
|
||||
.addTypeConverter(AuthenticatorItemTypeConverter())
|
||||
.addTypeConverter(AuthenticatorItemAlgorithmConverter())
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user