Django migration not working properly on Heroku

I have deployed a Django App like 3 months ago and i was able to migrate changes easily on the heroku bash. Right now i'm trying this:

heroku run python manage.py migrate

Also tried this:

heroku run python manage.py migrate --no-input

And i tried accesing to the heroku bash like this:

heroku run bash

And then run:

~ $ python manage.py migrate

All this commands seems to work: https://i.stack.imgur.com/JWW6S.png

But they don't. When i tried to migrate again, i thought it would show me the typical No migrations to apply.. But this is not the case

¿What should i do to migrate changes?

If you are using SQlite, the migration changes on Heroku are applied and removed immediately. You have to use Heroku Postgres add-on (check on the your project overview if it's already installed) and add this to your settings.py

if "DATABASE_URL" in os.environ:
    import dj_database_url

    DATABASES = {"default": dj_database_url.config()}

you can also add this to your Procfile to migrate on deploy

release: python manage.py migrate
Back to Top