unicef / iogt

BSD 2-Clause "Simplified" License
25 stars 35 forks source link

Missing migrations for release 2.3.6 #1616

Closed istride closed 1 year ago

istride commented 1 year ago

Logs in production show that there are missing migrations in the latest release.

Running migrations:
  No migrations to apply.
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

This must be addressed before the next release.

How can we avoid this happening again?

Alihassanc5 commented 1 year ago

The issue is caused by incremented package version of django-translation-manager 1.3.0 which is incompatible with our current django version 3.1.*

Alihassanc5 commented 1 year ago

It would be fix in the next release because we are using Django 3.2.* now, additionally we will lock the dependencies using pip-tools to avoid this issue in future.