[Django]-Django : migration success but not creating new table

2👍

If you use multiple DBs in Django, When migrating, you need to check the Database Router that you coded.

Check for “allow_migrate” method in your database router class.

This is official Django documentation about this issue.

https://docs.djangoproject.com/ko/1.11/topics/db/multi-db/#allow_migrate

2👍

You should set database name to migrate others database:

./manage.py migrate --database=write
👤Hayden

Leave a comment