Closed OlegPrivet closed 1 year ago
Hi @OlegPrivet,
I suspect Room is running your migration in a transaction already, which would explain the error message you are seeing. Their example does not include explicit transaction calls. Try removing that first. If that does not work, try posting this over to the SQLCipher community discuss site.
Expected Behavior
Migrate to the new version
Actual Behavior
When I try to migrate the database to a new version, I get an error. Used android-database-sqlcipher(4.5.3) and androidx.room(2.4.3).
Steps to Reproduce
Migration code:
When executing the code
database.execSQL("BEGIN TRANSACTION")
the application crashes with an exception:Help me please