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

Add task to regenerate ballot_lines_count cache #3563

Merged
merged 1 commit into from
May 29, 2019
Merged

Conversation

javierm
Copy link
Member

@javierm javierm commented May 29, 2019

References

Objectives

Add a task we forgot to add when adding the column to cache the number of ballot lines.

Release notes

In order to cache existing ballot lines, execute:

bin/rake budgets:calculate_ballot_lines RAILS_ENV=production

Not doing so might lead to inconsistencies in the stats.

We've added this column recently to `budget_ballots`, and we use it to
calculate stats.
@javierm javierm merged commit 80096d9 into master May 29, 2019
@javierm javierm deleted the add_lines_count_rake branch May 29, 2019 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants