Added a small model 'new_model' in existing app 'existing_app' on Django,
Entered commands manage.py makemigrations and manage.py migrate it migrated changes to local database.
Tried to apply same on heroku but its not working there. I then tried to setup heroku database in local settings.py of project and migrations worked but it shown some well known error, I have attached the output with this discusssion. Attaching the final screenshot as output.
_________________Just In Case if it may help___________________________________________________
The following are the methods I have applied before the final solution:-
1. With heroku run manage.py makemigrations
2. Adding makemigrations command to procfile
3. Pushing migrations as well, so it may replace server migrations
The all three mentioned steps provided this output:- "No migrations to apply, and on migrate it shows you dont have new migrations",
helping out to migrate changes on database.