Open elnygren opened 8 months ago
So it seems the upgrade path for django-invitations is something like:
?
Hmm weird, I did not have the other 0004_alter_invitation_id
in prod at all but did have it in dev 🤔
pip does not seem to remove the migrations when uninstalling or upgrading the django-invitations package. I therefore solved the above problem by manually deleting the migration, e.g. remove .venv/lib/python3.12/site-packages/invitations/
I noticed that there was a missing migration file in this library, so I created it in this commit: 8ae641f In that commit, I also added a test to make sure that we don't forget to create migration files in the future.
Does this solve the issue for you?
After upgrading 2.0.0 -> 2.1.0
Contents of
0004_alter_invitation_id
Contents of
0004_auto_20230328_1430