When generating the CSV export we do a join between these two tables on
these two columns. For legislatures with lots of people, like Greece,
this was starting to get very slow on Heroku. This change should help to
keep the CSV export snappy and prevent timeouts.
When generating the CSV export we do a join between these two tables on these two columns. For legislatures with lots of people, like Greece, this was starting to get very slow on Heroku. This change should help to keep the CSV export snappy and prevent timeouts.