dimagi/WBNigeria — pull request #32 by rebecca-caktus (2012-08-28 14:49:31+00:00)
Title: Updated dashboard migration path

My attempts at making a data-safe migration for `ReportComment.report_id` -> `ReportComment.report` didn't work out, so I removed those migration files. In their place, I've created two new migrations: the first deletes all `ReportComment` objects (and disables backwards migration by raising an exception), and the second deletes the `report_id` column and adds the `report` column.

To fix:
1. Apply this patch.
2. Migrate backwards to the last good place: ```python aremind/manage.py migrate dashboard 0004```
3. Apply the two new migrations: ```python aremind/manage.py migrate dashboard```