These are chat archives for django/django
Well I hit the wall...
I have added my own ManyToMany model and added it to another model for a relation. I have locally (and also tried on stage) generated automatic migration, but on migrate it tells me:
django.db.utils.IntegrityError: (1215, 'Cannot add foreign key constraint')
And my M2M model is currently: https://github.com/ivellios/django-rotv-apps/blob/feature/slug_for_episodes_and_playlists/rotv_apps/program/models.py#L81
It passes smoothly on localhost (sqlite), but not on staging (MySQL).
What am I doing wrong?
some simple question to ask: