Closed
Description
While using the SQLiteDatabase.upgradeDatabaseFormatFromVersion1To2()
method to convert a database, it seems that the user_version PRAGMA is reset to 0 in the newly converted database. This results in the SQLiteOpenHelper.onCreate()
method being called upon my first attempt to use the converted database, even though the database already contains data. Is there a accessible method in the android-database-sqlcipher library that allows me to preserve the version PRAGMA to prevent onCreate()
being called redundantly?
Metadata
Metadata
Assignees
Labels
No labels