Open ukanga opened 2 years ago
I think here we also need to investigate and confirm that this exception was not thrown because we inadvertently added a lower database version on a latter release than one that is already installed (on the device).
That is, I'd expect a similar error if for example:
App on device is version 1
and db is version 2
and
New app release is version 2
and db version is 1
cc @hilpitome @owais-vd
Fatal Exception: java.lang.RuntimeException Unable to start activity ComponentInfo{com.onaio.steps/com.onaio.steps.activities.HouseholdListActivity}: android.database.sqlite.SQLiteException: Can't downgrade database from version 2 to 1