mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 06:08:51 +00:00
Application: migrate MVV to new station IDs
This commit is contained in:
parent
70c1ac5fa4
commit
17727a1e3a
1 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,10 @@ public class Application extends android.app.Application {
|
|||
FavoriteStationsProvider.deleteFavoriteStations(this, SNCB);
|
||||
QueryHistoryProvider.deleteQueryHistory(this, SNCB);
|
||||
|
||||
// 2024-04-27: EFA-ID migration of MVV
|
||||
FavoriteStationsProvider.migrateFavoriteStationIds(this, NetworkId.MVV, "0", "10000", 91000000);
|
||||
QueryHistoryProvider.migrateQueryHistoryIds(this, NetworkId.MVV, "0", "10000", 91000000);
|
||||
|
||||
log.info("Migrations took {}", watch);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue