Changes seasonality on crags and tick counts on routes to db fields instead of resolvers, by adding bull queue and triggers that update the data when activities / activity routes are saved.
After this is deployed, processAllCrags mutation will need to be called (takes a few minutes) to save all the crags and routes.
Test by logging some routes and observing the numbers and adding some visits to crags in unvisited months and seeing that the graph changes after a refresh.
Changes seasonality on crags and tick counts on routes to db fields instead of resolvers, by adding bull queue and triggers that update the data when activities / activity routes are saved. After this is deployed, processAllCrags mutation will need to be called (takes a few minutes) to save all the crags and routes.
Test by logging some routes and observing the numbers and adding some visits to crags in unvisited months and seeing that the graph changes after a refresh.