Squash: load TrackPoint elevationGain.

This commit is contained in:
Román
2020-09-03 14:55:12 +02:00
committed by Dennis Guse
parent 577b9b4635
commit fe3bf61acb
3 changed files with 8 additions and 0 deletions
@@ -215,6 +215,8 @@ public class CustomSQLiteOpenHelper extends SQLiteOpenHelper {
db.execSQL("INSERT INTO trackpoints SELECT _id, trackid, longitude, latitude, time, elevation, accuracy, speed, bearing, sensor_heartrate, sensor_cadence, sensor_power FROM trackpoints_old");
db.execSQL("DROP TABLE trackpoints_old");
db.execSQL("CREATE INDEX trackpoints_trackid_index ON trackpoints(trackid)");
db.setTransactionSuccessful();
db.endTransaction();
}