DB: cleanup TTDs too
This commit is contained in:
parent
67802d944d
commit
31fb88bbf4
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ import kotlin.math.roundToInt
|
|||
removed.add(Pair("ExtendedBolus", database.extendedBolusDao.deleteOlderThan(than)))
|
||||
removed.add(Pair("Bolus", database.bolusDao.deleteOlderThan(than)))
|
||||
removed.add(Pair("MultiWaveBolus", database.multiwaveBolusLinkDao.deleteOlderThan(than)))
|
||||
// keep TDD removed.add(Pair("TotalDailyDose", database.totalDailyDoseDao.deleteOlderThan(than)))
|
||||
removed.add(Pair("TotalDailyDose", database.totalDailyDoseDao.deleteOlderThan(than)))
|
||||
removed.add(Pair("Carbs", database.carbsDao.deleteOlderThan(than)))
|
||||
removed.add(Pair("TemporaryTarget", database.temporaryTargetDao.deleteOlderThan(than)))
|
||||
removed.add(Pair("ApsResultLink", database.apsResultLinkDao.deleteOlderThan(than)))
|
||||
|
@ -111,7 +111,7 @@ import kotlin.math.roundToInt
|
|||
removed.add(Pair("CHANGES Bolus", database.bolusDao.deleteTrackedChanges()))
|
||||
removed.add(Pair("CHANGES ExtendedBolus", database.extendedBolusDao.deleteTrackedChanges()))
|
||||
removed.add(Pair("CHANGES MultiWaveBolus", database.multiwaveBolusLinkDao.deleteTrackedChanges()))
|
||||
// keep TDD removed.add(Pair("CHANGES TotalDailyDose", database.totalDailyDoseDao.deleteTrackedChanges()))
|
||||
removed.add(Pair("CHANGES TotalDailyDose", database.totalDailyDoseDao.deleteTrackedChanges()))
|
||||
removed.add(Pair("CHANGES Carbs", database.carbsDao.deleteTrackedChanges()))
|
||||
removed.add(Pair("CHANGES TemporaryTarget", database.temporaryTargetDao.deleteTrackedChanges()))
|
||||
removed.add(Pair("CHANGES ApsResultLink", database.apsResultLinkDao.deleteTrackedChanges()))
|
||||
|
|
Loading…
Reference in a new issue