why not commit to git and run deploy within heroku console as we have always done?
On Sun, 19 Jul 2020 at 17:47, Aman Mandloi <pythonmatea...@gmail.com> wrote: > 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. > Thank You. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/ee20b599-619d-4b38-949d-fdfb18cf9711o%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/ee20b599-619d-4b38-949d-fdfb18cf9711o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- John McClain Cell: 085-1977-823 Skype: jmcclain0129 Email: jmcclain0...@gmail.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN-hv_r3BVzzpp3WZMntd9CV8sj539NTn6CnpYoT1nnAtqOS5Q%40mail.gmail.com.