Skip to content

Commit

Permalink
Do not use DB HAFAS by default. Use DB IRIS instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Jan 8, 2025
1 parent ef50cbf commit b8f48ad
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/Travelynx/Command/database.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2689,6 +2689,18 @@ qq{select distinct checkout_station_id from in_transit where backend_id = 0;}
}
);
},

# v58 -> v59
# DB HAFAS is dead. Default to DB IRIS for now.
sub {
my ($db) = @_;
$db->query(
qq{
alter table users alter column backend_id set default 0;
update schema_version set version = 59;
}
);
},
);

sub sync_stations {
Expand Down

0 comments on commit b8f48ad

Please sign in to comment.