[Answered ]-Heroku + Django migrate command doesn’t create any table

2👍

I guess I found the solution or a kind of solution. The table was created but to get access to it I have to use double-quotes:

select * from "findCharge_chargepoints";

I didn’t expect it ’cause other tables created by migrate (like auth_user, auth_group etc.) don’t need any qoutes at all.

0👍

Instead of run:

heroku run python manage.py migrate

just run:

heroku run python manage.py migrate --run-syncdb

Leave a comment