0
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/django/db/migrations/loader.py", line 295, in check_consistent_history
    raise InconsistentMigrationHistory(
django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applied before its dependency Occupier.0001_initial on database 'default'.
rahul.m
  • 5,572
  • 3
  • 23
  • 50
  • 1
    Does this answer your question? [Migrating from django user model to a custom user model](https://stackoverflow.com/questions/42794212/migrating-from-django-user-model-to-a-custom-user-model) – black Sep 29 '21 at 13:08
  • hi thanks for answering , although i have read the recommended article before and still got the same error – SamOccupy Sep 30 '21 at 19:26

0 Answers0