update sqlx json
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run

This commit is contained in:
Nicholas Orlowsky 2025-09-14 11:59:46 -04:00
parent 0cda7295be
commit 06c647d4ca
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "SELECT \n septa_stop_schedules.route_id,\n septa_stops.name as stop_name,\n trip_id, \n service_id, \n septa_stop_schedules.direction_id,\n septa_directions.direction as \"direction: libseptastic::direction::CardinalDirection\", \n arrival_time,\n stop_id,\n stop_sequence\n FROM \n septa_stop_schedules\n INNER JOIN septa_directions\n ON \n septa_directions.direction_id = septa_stop_schedules.direction_id\n AND\n septa_directions.route_id = septa_stop_schedules.route_id\n INNER JOIN septa_stops \n ON septa_stops.id = septa_stop_schedules.stop_id\n WHERE \n septa_stop_schedules.route_id = $1\n AND\n service_id IN (SELECT service_id FROM septa_schedule_days WHERE date = '20250707')\n ;",
"query": "SELECT \n septa_stop_schedules.route_id,\n septa_stops.name as stop_name,\n trip_id, \n service_id, \n septa_stop_schedules.direction_id,\n septa_directions.direction as \"direction: libseptastic::direction::CardinalDirection\", \n arrival_time,\n stop_id,\n stop_sequence\n FROM \n septa_stop_schedules\n INNER JOIN septa_directions\n ON \n septa_directions.direction_id = septa_stop_schedules.direction_id\n AND\n septa_directions.route_id = septa_stop_schedules.route_id\n INNER JOIN septa_stops \n ON septa_stops.id = septa_stop_schedules.stop_id\n WHERE \n septa_stop_schedules.route_id = $1\n AND\n service_id IN (SELECT service_id FROM septa_schedule_days WHERE date = $2)\n ;",
"describe": {
"columns": [
{
@ -66,6 +66,7 @@
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
@ -81,5 +82,5 @@
false
]
},
"hash": "625a3e7d5d5b1a58ca99dc533c09b181079f16ec7a24bd19b86c7fbf51d9226a"
"hash": "18af7a03da319dbb5d98d811a3978f0bba3b55b0a18947b2905f9fe850be2ee7"
}

View file

@ -197,7 +197,7 @@ impl SeptaFetcher {
let mut routes = Self::fetch_routes(&version).await?;
info!("Discovered {} SEPTA routes", routes.len());
routes = routes.into_iter().filter(|x| x.release_name == "20250907").collect();
routes = routes.into_iter().filter(|x| x.release_name == "20250914").collect();
let route_stops = Self::fetch_route_stops(&mut routes, &version).await?;
info!("Stop data for {} stops on {} routes successfully downloaded", route_stops.len(), routes.len());