Django

Missing index rename migrations block deployment

warning
configurationUpdated Mar 16, 2026(via Exa)
How to detect:

After applying migration 0013_spike_events, Django detects missing migrations for index renames on errortrackingspikeevent table. Deployment will fail or produce inconsistent schema state without these migrations.

Recommended action:

Run `python manage.py makemigrations` to generate migration 0014 containing index rename operations (posthog_err_team_id_e37c4c_idx → posthog_err_team_id_dbaf85_idx, posthog_err_issue_i_38a8b0_idx → posthog_err_issue_i_7c3037_idx) before deploying to production.