diff --git a/android/common/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java b/android/common/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java index 30511e25..9535b9ca 100644 --- a/android/common/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java +++ b/android/common/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java @@ -118,8 +118,8 @@ public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { alterSql.add("ALTER TABLE " + LocationEntry.TABLE_NAME + " ADD COLUMN " + LocationEntry.COLUMN_NAME_HAS_VERTICAL_ACCURACY + INTEGER_TYPE); alterSql.add("UPDATE " + LocationEntry.TABLE_NAME + - " SET " + LocationEntry.COLUMN_NAME_VERTICAL_ACCURACY + "= -1," + - LocationEntry.COLUMN_NAME_HAS_VERTICAL_ACCURACY + "= 0"); + " SET " + LocationEntry.COLUMN_NAME_VERTICAL_ACCURACY + "= -1," + LocationEntry.COLUMN_NAME_HAS_VERTICAL_ACCURACY + "= 0" break; // DO NOT FORGET TO MOVE DOWN BREAK ON DB UPGRADE!!! default: