Android app running an older version of SQLCipher. Call PRAGMA cipher_migrate inside of SQLiteDatabaseHook to upgrade sqlcipher from v2 to v3.3.1.
Migration failed. The error message shows:
sqlite returned: error code = 1, msg = no such collation sequence: PHONEBOOK
I/Database(27940): sqlite returned: error code = 1, msg = statement aborts at 2: [SELECT sqlcipher_export(‘migrate’);] no such collation sequence: PHONEBOOK
So it looks like the migration doesn’t recognize a collation named “PHONEBOOK”. But on a fresh install of the app with the collation explicitly specified for one of a table column, there is no error, which is weird.