When I change help_text
or verbose_name
for any of my model fields and run python manage.py makemigrations
, it detects these changes and creates a new migration, say, 0002_xxxx.py
.
I am using PostgreSQL and I think these changes are irrelevant to my database (I wonder if a DBMS for which these changes are relevant exists at all).
Why does Django generate migrations for such changes? Is there an option to ignore them?
Can I apply the changes from 0002_xxxx.py
to the previous migration (0001_initial.py
) manually and safely delete 0002_xxxx.py
?
Is there a way to update previous migration automatically?
help_text
without needing to update migrations: code.djangoproject.com/ticket/21498#comment:6 – Exclamatory