I'm migrating my Django database from sqlite to mysql. I've done the following with no problems:
python manage.py dumpdata > datadump.json Change your settings.py to the mysql database.
But when I issue the following command python manage.py loaddata datadump.json I get this error:
IntegrityError: (1062, "Duplicate entry '13-13' for key 'from_category_id'")
Can someone tell me how to go about fixing this issue so that I can run the command again and hopefully load my data?
Thanks, J.