fix - database update
This commit is contained in:
parent
c3cb5f2838
commit
875d71e9be
|
@ -84,8 +84,8 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 341
|
versionCode 342
|
||||||
versionName "2.5.11"
|
versionName "2.5.11.1"
|
||||||
archivesBaseName += "-$versionName"
|
archivesBaseName += "-$versionName"
|
||||||
applicationId "eu.sum7.conversations"
|
applicationId "eu.sum7.conversations"
|
||||||
resValue "string", "applicationId", applicationId
|
resValue "string", "applicationId", applicationId
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
• Fixed crash on internal database update
|
|
@ -527,7 +527,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
|
||||||
db.execSQL("ALTER TABLE " + Message.TABLENAME + " ADD COLUMN " + Message.BODY_LANGUAGE);
|
db.execSQL("ALTER TABLE " + Message.TABLENAME + " ADD COLUMN " + Message.BODY_LANGUAGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
db.execSQL("DROP TABLE resolver_results");
|
db.execSQL("DROP TABLE IF EXISTS resolver_results");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void canonicalizeJids(SQLiteDatabase db) {
|
private void canonicalizeJids(SQLiteDatabase db) {
|
||||||
|
|
Loading…
Reference in New Issue