switched m2m to m2m_history, added migration file and tests