Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Remove deprecated / unused regional analysis fields #956

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

trevorgerhardt
Copy link
Member

@trevorgerhardt trevorgerhardt commented Feb 18, 2025

Remove old fields in regional analysis that haven't been used in many years.

Should be accompanied by a MongoDB migration to clean up old regional analyses. That migration can be run at any time and does not require this change. For example:

// match
travelTimePercentiles: {"$eq": null},
// set
travelTimePercentiles: ["$travelTimePercentile"],

We recently removed a similar worker version related flag from the UI here: https://github.com/conveyal/ui/pull/2064

Remove old fields that are no longer used. Should be accompanied by a MongoDB migration to clean up old regional analyses.

We recently removed a similar worker version related flag from the UI here: conveyal/ui#2064
This will require an additional migration which processes all old regional analyses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant