I am getting error like django.db.utils.OperationalError: (1050, "Table 'someTable' already exists") I want to know reason for getting this type error. I ran the following commands on termial
django.db.utils.OperationalError: (1050, "Table 'someTable' already exists")
1. python manage.py makemigration app 2. python manage.py migrate app
When ran migrate then getting the above error. I solve my problem by running
python manage.py migrate --fake app
提示是否继续,选择yes