You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
Why?
We have a staging environment whose free database tier only supports up to 10,000 rows. We occasionally need to copy the current prod DB to staging in order to QA things.
We used to flush the Teams App's DB every year but since the introduction of the Season concept, we don't do that anymore. This is why the DB keeps growing.
What?
The list below shows how many records each ActiveRecord model has (as of April 2nd).
The easiest way to solve this would be to delete data for old seasons, but ideally we also keep some old data
The current season should be left untouched
Accepted teams shouldn't be purged
Bonus: sanitize the data (user data, team names, application data, comments) so that we may use the DB dump as a developer's snapshot