What worked for me is the following:
Access the database that you are using and look for the table django_migrations
Open it and remove the lines which include your migration file-names from your djangoproject/appname/migrations
. Then rerun the migrate command, this should then work.