Skip to content

Conversation

@jayaddison
Copy link

Contributor checklist

  • Device A, Android X.Y.Z
  • Device B, Android Z.Y
  • Virtual device W, Android Y.Y.Z
  • My contribution is fully baked and ready to be merged as is
  • I ensure that all the open issues my contribution fixes are mentioned in the commit message of my first commit using the Fixes #1234 syntax

Description

I have an old-ish Android 6.x device that I previously used Signal on. The database schema has gotten into a state where the updateSystemContactColors migration fails due to a missing color column on the recipient table.

The failure prevents the Signal user interface from opening, locking me out of historical conversations and media I'd like to retain.

That database migration has been deprecated since Y2021 (ref: bcc5d48).

This pull request adds an error-ignored step to add the column before it is queried (as far as I know, SQLite has no add column if not exists functionality). I have not yet tested this, but believe that it would solve the problem.

I have not been able to decrypt the database from my device to test this with, and I am not keen to root the device purely to install an unsigned test build.

May resolve #14228.

@jayaddison jayaddison marked this pull request as ready for review January 10, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MigrationJob: crash on app open with SQL error "no such column: color"

1 participant