django.db.migrations.exceptions.InconsistentMigrationHistory

292 views
Skip to first unread message

surjeet jaiswal

unread,
Dec 21, 2021, 2:19:32 PM12/21/21
to Django developers (Contributions to Django itself)
Hi,

I am still new in Django world, I am between below issue. 
For one of changes, I deleted existing tables and trying to recreate the tables through migrations again.
I have created no of django model classes to store data in postgres database. From GraphQL interface I am trying to create mutation request which is responsible for inserting certain records in tables created through model classes.
So model classes create migrations(after running command "python3 manage.py makemigrations") through which tables get created, Here I am getting issue like
django.db.migrations.exceptions.InconsistentMigrationHistory

From Log, I can see that for one of the api packages, migrations didn't execute, it got skipped. Don't know why.
please help

Thanks,
Surjeet

Adam Johnson

unread,
Dec 21, 2021, 2:31:07 PM12/21/21
to Django developers (Contributions to Django itself)
Hi!

I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer your support query with their limited time and energy.

For support, please follow the "Getting Help" page: https://docs.djangoproject.com/en/stable/faq/help/ . This will help you find people who are willing to support you, and to ask your question in a way that makes it easy for them to answer.

Thanks for your understanding and all the best,

Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/f84b5203-cb1f-4513-ae3e-19b211cf4f6fn%40googlegroups.com.

surjeet jaiswal

unread,
Dec 22, 2021, 12:03:48 AM12/22/21
to Django developers (Contributions to Django itself)
Thanks for letting me know.
Reply all
Reply to author
Forward
0 new messages