Database upgrade (incl. tests): removed unused columns and added indices.

Fixes #108.
This commit is contained in:
Dennis Guse
2020-03-16 17:47:46 +01:00
parent c8a33201f5
commit b2b8c7fd54
9 changed files with 292 additions and 177 deletions
@@ -64,5 +64,7 @@ public interface TrackPointsColumns extends BaseColumns {
+ BEARING + " FLOAT, "
+ SENSOR_HEARTRATE + " FLOAT, "
+ SENSOR_CADENCE + " FLOAT, "
+ SENSOR_POWER + " FLOAT);";
+ SENSOR_POWER + " FLOAT)";
String CREATE_TABLE_INDEX = "CREATE INDEX " + TABLE_NAME + "_" + TRACKID + "_index ON " + TABLE_NAME + "(" + TRACKID + ")";
}