title: Why does Django not see migrations?
body: <p>I am trying to change some field names of Django models, but for some reasons Django does not want to see my migrations. I made sure the following things are properly set up:</p>
  <ul>
  <li><code>myApp.apps.MyAppConfig</code> is added to <code>INSTALLED_APPS</code> in settings.py</li>
  <li>A migration folder with an empty <code>__init__.py</code> is present in my app folder</li>
  <li>In myApp folder, I also have an empty <code>__init__.py</code></li>
  </ul>
  <p>The whole procedure works just fine locally with a SQLite database and I can change field names and run <code>python manage.py makemigrations</code> and <code>python manage.py migrate</code> to migrate the database. However in production where I use Docker Compose for orchestration and Postgres as database only the first migration works fine. Afterwards when I change any model field name and try to run <code>docker-compose exec projectname django-admin makemigrations</code> or <code>docker-compose exec projectname python manage.py makemigrations</code> or add the app name behind these commands nothing helps.</p>
  <p>Then Postgres can't handle the request, because it doesn't know the new field name:</p>
  <pre><code>2022-03-11 14:40:22.136 UTC [81] ERROR:  column model_name.new_field_name does not exist at character 357
  </code></pre>
  <p>What am I missing here? How can I get Django to migrate?</p>