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

Data migration to backfill new category counts #5783

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

rowanseymour
Copy link
Member

No description provided.

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5bab940) to head (715021f).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #5783   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          445       446    +1     
  Lines        25106     25123   +17     
=========================================
+ Hits         25106     25123   +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


with transaction.atomic():
flow.result_counts.all().delete()
FlowResultCount.objects.bulk_create(to_create)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply_manual?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this will run quickly enough to not need that

@rowanseymour rowanseymour merged commit 701b20c into main Jan 9, 2025
3 checks passed
@rowanseymour rowanseymour deleted the new_cat_counts_pt2 branch January 9, 2025 22:11
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants