[Django]-Migrate command in south cause this error:table "model_name" already exist

3👍

It`s because initial migration will create all tables in database for you. And you have an existing database with existing tables. You can either wipe you database and then do a migrate or you need to use a –fake option in migrate. Docs here

python manage.py migrate DrHub --fake

0👍

Please remove the database table and try to create sync db.

👤Nilesh

Leave a comment