Pin dependency versions.
stats: redo migrations from 1b3b053d.

South/MySQL have trouble dealing with primary key constraints
changing in a single migration (see apropos south issue 666).
Dropping the columns entirely, then re-adding them with new
constraints, seems to work.